X-Git-Url: https://git.artsoft.org/?a=blobdiff_plain;ds=sidebyside;f=src%2Ftape.c;h=642ce5c399d814bac1b65a967fe35aa09b306390;hb=a047db7b385f7523ca97deb21fdc504f34a80c7e;hp=3aa2282b2edd6b1c0b5d67139f73b7757511ee15;hpb=aacdd16335c68a011fab047272b828792a2a884e;p=rocksndiamonds.git diff --git a/src/tape.c b/src/tape.c index 3aa2282b..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) { @@ -429,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