From 7698f73b55735fce9296e4f10ec1985186cd498a Mon Sep 17 00:00:00 2001 From: hendricks266 Date: Wed, 27 Nov 2019 07:33:04 +0000 Subject: [PATCH] Fix tautological comparison in savegame.cpp git-svn-id: https://svn.eduke32.com/eduke32@8314 1a8010ca-5511-0410-912e-c29ae57300e0 --- source/duke3d/src/savegame.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/duke3d/src/savegame.cpp b/source/duke3d/src/savegame.cpp index 9bbbb4008..1c195fd00 100644 --- a/source/duke3d/src/savegame.cpp +++ b/source/duke3d/src/savegame.cpp @@ -466,7 +466,7 @@ int32_t G_LoadPlayer(savebrief_t & sv) if (currentboardfilename[0]) { // only setup art if map differs from previous - if (!previousboardfilename[0] || previousboardfilename != currentboardfilename) + if (!previousboardfilename[0] || Bstrcmp(previousboardfilename, currentboardfilename)) artSetupMapArt(currentboardfilename); Bstrcpy(previousboardfilename, currentboardfilename); append_ext_UNSAFE(currentboardfilename, ".mhk");