X-Git-Url: https://git.artsoft.org/?a=blobdiff_plain;f=src%2Ftape.c;h=642ce5c399d814bac1b65a967fe35aa09b306390;hb=a047db7b385f7523ca97deb21fdc504f34a80c7e;hp=40a5126b160dbcff66f561b2c847e1bc91f81fa6;hpb=f857fec3082c785b0dd271b6ad1b7642a2ed4e65;p=rocksndiamonds.git diff --git a/src/tape.c b/src/tape.c index 40a5126b..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