X-Git-Url: https://git.artsoft.org/?a=blobdiff_plain;f=src%2Fgame_em%2Finput.c;h=e314272f5315158d1b6aaca80a3587dcf8cbc37e;hb=d2b08e8601362bd9f1ade63c9bca892aab0e410e;hp=7b3ae9214f65e38dc40f97ed3d925bd32a0d8ddd;hpb=f13a8935ca1a7eeb3406d02f49b2df1490504017;p=rocksndiamonds.git diff --git a/src/game_em/input.c b/src/game_em/input.c index 7b3ae921..e314272f 100644 --- a/src/game_em/input.c +++ b/src/game_em/input.c @@ -63,7 +63,8 @@ void InitGameEngine_EM() prepare_em_level(); game_initscreen(); - game_animscreen(); + + RedrawPlayfield_EM(FALSE); } void UpdateGameDoorValues_EM() @@ -73,7 +74,7 @@ void UpdateGameDoorValues_EM() void GameActions_EM(byte action[MAX_PLAYERS], boolean warp_mode) { int i; - boolean player_is_dropping = FALSE; + boolean any_player_dropping = FALSE; RandomEM = RandomEM * 129 + 1; @@ -103,14 +104,14 @@ void GameActions_EM(byte action[MAX_PLAYERS], boolean warp_mode) ply[i].dynamite && ply[i].dynamite_cnt > 0 && ply[i].dynamite_cnt < 5) - player_is_dropping = TRUE; + any_player_dropping = TRUE; CheckSingleStepMode_EM(action, frame, game_em.any_player_moving, - player_is_dropping); + game_em.any_player_snapping, any_player_dropping); - game_animscreen(); + RedrawPlayfield_EM(FALSE); - blitscreen(); + BlitScreenToBitmap_EM(backbuffer); } /* read input device for players */