diff options
Diffstat (limited to 'engines')
-rw-r--r-- | engines/cruise/background.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/cruise/background.cpp b/engines/cruise/background.cpp index a32973eb54..38fdd0dc9e 100644 --- a/engines/cruise/background.cpp +++ b/engines/cruise/background.cpp @@ -210,7 +210,7 @@ int loadBackground(const char *name, int idx) { MemFree(ptrToFree); - if (name != backgroundTable[idx].name) { + if (strcmp(name, backgroundTable[idx].name)) { if (strlen(name) > sizeof(backgroundTable[idx].name)) warning("background name length exceeded allowable maximum"); |