aboutsummaryrefslogtreecommitdiff
path: root/engines/lab/map.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/lab/map.cpp')
-rw-r--r--engines/lab/map.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/engines/lab/map.cpp b/engines/lab/map.cpp
index d41322f426..e4b8b3258a 100644
--- a/engines/lab/map.cpp
+++ b/engines/lab/map.cpp
@@ -47,7 +47,6 @@ static TextFont bmf;
extern uint16 Direction;
-extern bool IsHiRes;
extern CloseDataPtr CPtr;
extern uint16 RoomNum;
@@ -170,7 +169,7 @@ static uint16 AmigaMapPalette[] = {
static uint16 mapScaleX(uint16 x) {
- if (IsHiRes)
+ if (g_lab->_isHiRes)
return (x - 45);
else
return ((x - 45) >> 1);
@@ -179,7 +178,7 @@ static uint16 mapScaleX(uint16 x) {
static uint16 mapScaleY(uint16 y) {
- if (IsHiRes)
+ if (g_lab->_isHiRes)
return y;
else
return ((y - 35) >> 1) - (y >> 6);