X-Git-Url: https://git.artsoft.org/?a=blobdiff_plain;f=src%2Ftools.c;h=6c8e96be5a74d37404300725dd923892b04bf775;hb=3c53030b9e20c59004046274e94eff2ee90d0ab5;hp=bc63ef9aebf4d4adf4a261908322a13165062566;hpb=d337287c2354ce4d256186e54f5474ecf77a2deb;p=rocksndiamonds.git diff --git a/src/tools.c b/src/tools.c index bc63ef9a..6c8e96be 100644 --- a/src/tools.c +++ b/src/tools.c @@ -399,6 +399,7 @@ void BackToFront() // never redraw single tiles, always redraw the whole field // (redrawing single tiles up to a certain threshold was faster on old, // now legacy graphics, but slows things down on modern graphics now) + // UPDATE: this is now globally defined by value of REDRAWTILES_THRESHOLD if (redraw_mask & REDRAW_TILES) redraw_mask |= REDRAW_FIELD; #endif @@ -8839,15 +8840,16 @@ void CheckSingleStepMode_EM(byte action[MAX_PLAYERS], int frame, boolean any_player_moving, boolean player_is_dropping) { - int i; - if (tape.single_step && tape.recording && !tape.pausing) { +#if 0 boolean active_players = FALSE; + int i; for (i = 0; i < MAX_PLAYERS; i++) if (action[i] != JOY_NO_ACTION) active_players = TRUE; +#endif // if (frame == 0) if (frame == 0 && !player_is_dropping)