From 16ae2e7b8e071c50d94a51b1274de449aa130c35 Mon Sep 17 00:00:00 2001 From: Kp Date: Sun, 17 May 2020 23:35:26 +0000 Subject: [PATCH] Correct case of map PCX files --- similar/main/automap.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/similar/main/automap.cpp b/similar/main/automap.cpp index 223623e27..bc7c25830 100644 --- a/similar/main/automap.cpp +++ b/similar/main/automap.cpp @@ -825,9 +825,9 @@ static void draw_automap(fvcobjptr &vcobjptr, automap *am) } #if defined(DXX_BUILD_DESCENT_I) -#define MAP_BACKGROUND_FILENAME (((SWIDTH>=640&&SHEIGHT>=480) && PHYSFSX_exists("maph.pcx",1))?"MAPH.PCX":"MAP.PCX") +#define MAP_BACKGROUND_FILENAME (((SWIDTH>=640&&SHEIGHT>=480) && PHYSFSX_exists("maph.pcx",1))?"maph.pcx":"map.pcx") #elif defined(DXX_BUILD_DESCENT_II) -#define MAP_BACKGROUND_FILENAME ((HIRESMODE && PHYSFSX_exists("mapb.pcx",1))?"MAPB.PCX":"MAP.PCX") +#define MAP_BACKGROUND_FILENAME ((HIRESMODE && PHYSFSX_exists("mapb.pcx",1))?"mapb.pcx":"map.pcx") #endif static void recompute_automap_segment_visibility(const object &plrobj, automap *const am)