diff options
Diffstat (limited to 'engines/cruise/background.cpp')
-rw-r--r-- | engines/cruise/background.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/engines/cruise/background.cpp b/engines/cruise/background.cpp index 21e4052dcd..3c16388f74 100644 --- a/engines/cruise/background.cpp +++ b/engines/cruise/background.cpp @@ -206,7 +206,8 @@ int loadBackground(const char *name, int idx) { } - strcpy(backgroundTable[idx].name, name); + if (name != backgroundTable[idx].name) + strcpy(backgroundTable[idx].name, name); return (0); } |