From fa718398a3e5985e5057ebfcd0218a1481d9795e Mon Sep 17 00:00:00 2001 From: pionere Date: Tue, 29 Sep 2020 12:16:05 +0200 Subject: [PATCH] map type --- Source/automap.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/automap.cpp b/Source/automap.cpp index 57dcc9cb9..44e4c463e 100644 --- a/Source/automap.cpp +++ b/Source/automap.cpp @@ -637,7 +637,7 @@ void SetAutomapView(int x, int y) maptype = GetAutomapType(xx, yy, FALSE); solid = maptype & 0x4000; - switch (maptype & 0xF) { + switch (maptype & MAPFLAG_TYPE) { case 2: if (solid) { if (GetAutomapType(xx, yy + 1, FALSE) == 0x4007)