From 54741abc879f868b54cc4b30c4a170ea8d496227 Mon Sep 17 00:00:00 2001 From: Anders Jenbo Date: Tue, 12 May 2020 13:10:56 +0200 Subject: [PATCH] Correct check for panel when zoomed --- Source/cursor.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/cursor.cpp b/Source/cursor.cpp index 3243b91ce..ed8f0aafd 100644 --- a/Source/cursor.cpp +++ b/Source/cursor.cpp @@ -192,7 +192,7 @@ void CheckCursMove() if (PANELS_COVER) { if (chrflag || questlog) { - if (sx >= SCREEN_WIDTH / 4) { /// BUGFIX: (sx >= SCREEN_WIDTH / 2) + if (sx >= SCREEN_WIDTH / 2) { /// BUGFIX: (sx >= SCREEN_WIDTH / 2) (fixed) sx -= SCREEN_WIDTH / 4; } else { sx = 0;