X-Git-Url: https://git.artsoft.org/?p=rocksndiamonds.git;a=blobdiff_plain;f=src%2Fgame_em%2Finput.c;h=b46399039058863e9c4ee81eafe5e208fd6e1377;hp=62b25f550034231bc1962eef11b26ffdf16cdd62;hb=1e4a6b46371858fdb85052eec3e7143732ff91b5;hpb=51dcb2097c619c5f9ba924a7edb4a3bdd6a6986e diff --git a/src/game_em/input.c b/src/game_em/input.c index 62b25f55..b4639903 100644 --- a/src/game_em/input.c +++ b/src/game_em/input.c @@ -107,6 +107,19 @@ void GameActions_EM(byte action) if (game_frame_delay_value > 0) /* do not redraw values in warp mode */ DrawGameDoorValues_EM(); } + +#if 0 + if (lev.time_initial == 0) + lev.time++; + else if (lev.time > 0) + lev.time--; +#endif + +#if 0 + if (lev.time_initial > 0 && + lev.time > 0 && lev.time <= 50 && lev.time % 5 == 0 && setup.time_limit) + play_sound(-1, -1, SAMPLE_time); +#endif }