X-Git-Url: https://git.artsoft.org/?a=blobdiff_plain;f=src%2Ftape.c;h=642ce5c399d814bac1b65a967fe35aa09b306390;hb=a047db7b385f7523ca97deb21fdc504f34a80c7e;hp=85fd29030b61446c3af148f5fd48df9681e2313b;hpb=9073d88279c0b9c5be103a6bb4d5c608ab0d90cc;p=rocksndiamonds.git diff --git a/src/tape.c b/src/tape.c index 85fd2903..642ce5c3 100644 --- a/src/tape.c +++ b/src/tape.c @@ -177,7 +177,7 @@ void DrawVideoDisplay(unsigned long state, unsigned long value) VY + VIDEO_REC_LABEL_YPOS); } - for(i=0;i<10;i++) + for (i = 0; i < 10; i++) { if (state & (1<= MAX_TAPELEN - 1) { @@ -424,11 +434,15 @@ void TapeRecordAction(byte action[MAX_PLAYERS]) return; } +#if 0 + printf("::: %05d: recording action: %d\n", FrameCounter, action[0]); +#endif + if (tape.pos[tape.counter].delay > 0) /* already stored action */ { boolean changed_events = FALSE; - for(i=0; i