aboutsummaryrefslogtreecommitdiff
path: root/engines/cruise
diff options
context:
space:
mode:
Diffstat (limited to 'engines/cruise')
-rw-r--r--engines/cruise/background.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/engines/cruise/background.cpp b/engines/cruise/background.cpp
index 969c6b0b10..3ac57cc376 100644
--- a/engines/cruise/background.cpp
+++ b/engines/cruise/background.cpp
@@ -210,6 +210,8 @@ int loadBackground(const char *name, int idx) {
MemFree(ptrToFree);
+ // NOTE: the following is really meant to compare pointers and not the actual
+ // strings. See r48092 and r48094.
if (name != backgroundTable[idx].name) {
if (strlen(name) >= sizeof(backgroundTable[idx].name))
warning("background name length exceeded allowable maximum");