Fix tautological comparison in savegame.cpp

git-svn-id: https://svn.eduke32.com/eduke32@8314 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
hendricks266 2019-11-27 07:33:04 +00:00 committed by Christoph Oelckers
parent abdd807e7f
commit 7698f73b55

View file

@ -466,7 +466,7 @@ int32_t G_LoadPlayer(savebrief_t & sv)
if (currentboardfilename[0]) if (currentboardfilename[0])
{ {
// only setup art if map differs from previous // only setup art if map differs from previous
if (!previousboardfilename[0] || previousboardfilename != currentboardfilename) if (!previousboardfilename[0] || Bstrcmp(previousboardfilename, currentboardfilename))
artSetupMapArt(currentboardfilename); artSetupMapArt(currentboardfilename);
Bstrcpy(previousboardfilename, currentboardfilename); Bstrcpy(previousboardfilename, currentboardfilename);
append_ext_UNSAFE(currentboardfilename, ".mhk"); append_ext_UNSAFE(currentboardfilename, ".mhk");