diff options
Diffstat (limited to 'engines')
-rw-r--r-- | engines/cruise/backgroundIncrust.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/cruise/backgroundIncrust.cpp b/engines/cruise/backgroundIncrust.cpp index b51e86296c..1685044c9d 100644 --- a/engines/cruise/backgroundIncrust.cpp +++ b/engines/cruise/backgroundIncrust.cpp @@ -203,7 +203,7 @@ void regenerateBackgroundIncrust(backgroundIncrustStruct *pHead) { if ((filesDatabase[frame].subData.ptr == NULL) || (strcmp(pl->name, filesDatabase[frame].subData.name))) { frame = NUM_FILE_ENTRIES - 1; - if (!loadFile(pl->name, frame, pl->spriteId) >= 0) + if (loadFile(pl->name, frame, pl->spriteId) < 0) frame = -1; } |