From: Holger Schemel Date: Thu, 20 Feb 2020 21:04:45 +0000 (+0100) Subject: minor change of initialization for EM engine caves X-Git-Tag: 4.2.0.0~77 X-Git-Url: https://git.artsoft.org/?a=commitdiff_plain;h=8a54d8767e822626488cb0504567b565249ca3cf;p=rocksndiamonds.git minor change of initialization for EM engine caves --- diff --git a/src/game_em/convert.c b/src/game_em/convert.c index 0ae1f35b..0d94aa00 100644 --- a/src/game_em/convert.c +++ b/src/game_em/convert.c @@ -428,11 +428,16 @@ void prepare_em_level(void) ply[i].dynamite = 0; ply[i].dynamite_cnt = 0; ply[i].keys = 0; - ply[i].anim = 0; - ply[i].prev_x = ply[i].x = cav.player_x[i] + lev.left; - ply[i].prev_y = ply[i].y = cav.player_y[i] + lev.top; + ply[i].anim = PLY_still; + ply[i].x = cav.player_x[i] + lev.left; + ply[i].y = cav.player_y[i] + lev.top; + ply[i].prev_x = ply[i].x; + ply[i].prev_y = ply[i].y; ply[i].last_move_dir = MV_NONE; - ply[i].joy_n = ply[i].joy_e = ply[i].joy_s = ply[i].joy_w = 0; + ply[i].joy_n = 0; + ply[i].joy_e = 0; + ply[i].joy_s = 0; + ply[i].joy_w = 0; ply[i].joy_snap = 0; ply[i].joy_drop = 0; ply[i].joy_stick = 0;