From: Holger Schemel Date: Wed, 26 Aug 2020 22:04:29 +0000 (+0200) Subject: added missing cave buffer offsets to robot wheel position X-Git-Tag: 4.2.0.2~22 X-Git-Url: https://git.artsoft.org/?a=commitdiff_plain;h=2174ec0a6b545b47aaea3153ef9a67993fc59a93;p=rocksndiamonds.git added missing cave buffer offsets to robot wheel position --- diff --git a/src/game_em/convert.c b/src/game_em/convert.c index 675f2235..9b8f0a8e 100644 --- a/src/game_em/convert.c +++ b/src/game_em/convert.c @@ -353,8 +353,8 @@ void prepare_em_level(void) lev.wheel_time = cav.wheel_time; lev.wheel_cnt = cav.wheel_active ? cav.wheel_time : 0; - lev.wheel_x = cav.wheel_x; - lev.wheel_y = cav.wheel_y; + lev.wheel_x = cav.wheel_x + lev.left; + lev.wheel_y = cav.wheel_y + lev.top; lev.wind_time = cav.wind_time; lev.wind_cnt = cav.wind_time;