From 2174ec0a6b545b47aaea3153ef9a67993fc59a93 Mon Sep 17 00:00:00 2001 From: Holger Schemel Date: Thu, 27 Aug 2020 00:04:29 +0200 Subject: [PATCH] added missing cave buffer offsets to robot wheel position --- src/game_em/convert.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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; -- 2.34.1