From 527df81530ed2ddb9063bcd1575fa8f562aa6237 Mon Sep 17 00:00:00 2001 From: Holger Schemel Date: Thu, 28 May 2020 18:23:18 +0200 Subject: [PATCH] fixed correcting playfield buffer offsets for EM engine --- src/game_em/init.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/game_em/init.c b/src/game_em/init.c index bd9cbc85..70da7982 100644 --- a/src/game_em/init.c +++ b/src/game_em/init.c @@ -73,14 +73,14 @@ void play_sound(int x, int y, int sample) int correctLevelPosX_EM(int lx) { - lx -= 1; + lx -= lev.left; return lx; } int correctLevelPosY_EM(int ly) { - ly -= 1; + ly -= lev.top; return ly; } -- 2.34.1