Skip to content

Commit

Permalink
CRUISE: Fixed odd check, introduced in rev d83a83e
Browse files Browse the repository at this point in the history
  • Loading branch information
bluegr committed Apr 2, 2011
1 parent 3ea76f3 commit 50a1d03
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion engines/cruise/backgroundIncrust.cpp
Expand Up @@ -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;
}

Expand Down

0 comments on commit 50a1d03

Please sign in to comment.