X-Git-Url: https://git.artsoft.org/?a=blobdiff_plain;f=src%2Fevents.c;h=5f80c5debc113399c863909fe0d9ccf7086b54f1;hb=9eacc6f4e47b05a7c4942f205faac1d62b0fc289;hp=c748bbcb41ebb5fa7ace9f22c4fa70f67f90aaf8;hpb=f47abfa991814f09bfc5e388f284663bd23e2829;p=rocksndiamonds.git diff --git a/src/events.c b/src/events.c index c748bbcb..5f80c5de 100644 --- a/src/events.c +++ b/src/events.c @@ -218,7 +218,8 @@ void EventLoop(void) SetMouseCursor(CURSOR_NONE); } } - else if (game_status == GAME_MODE_PLAYING && !tape.pausing) + else if (game_status == GAME_MODE_PLAYING && (!tape.pausing || + tape.single_step)) { /* when playing, display a special mouse pointer inside the playfield */ @@ -1551,28 +1552,6 @@ void HandleKey(Key key, int key_status) } break; -#if 0 - case KSYM_s: - if (!global.fps_slowdown) - { - global.fps_slowdown = TRUE; - global.fps_slowdown_factor = 2; - printf("fps slowdown enabled -- display only every 2nd frame\n"); - } - else if (global.fps_slowdown_factor == 2) - { - global.fps_slowdown_factor = 4; - printf("fps slowdown enabled -- display only every 4th frame\n"); - } - else - { - global.fps_slowdown = FALSE; - global.fps_slowdown_factor = 1; - printf("fps slowdown disabled\n"); - } - break; -#endif - case KSYM_v: printf("::: currently using game engine version %d\n", game.engine_version);