[Scummvm-cvs-logs] scummvm master -> 50a1d033daab313b7d3f750e9d15906443209628
bluegr
md5 at scummvm.org
Sun Apr 3 02:04:41 CEST 2011
This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .
Summary:
50a1d033da CRUISE: Fixed odd check, introduced in rev d83a83ef50
Commit: 50a1d033daab313b7d3f750e9d15906443209628
https://github.com/scummvm/scummvm/commit/50a1d033daab313b7d3f750e9d15906443209628
Author: md5 (md5 at scummvm.org)
Date: 2011-04-02T16:35:16-07:00
Commit Message:
CRUISE: Fixed odd check, introduced in rev d83a83ef50
Changed paths:
engines/cruise/backgroundIncrust.cpp
diff --git a/engines/cruise/backgroundIncrust.cpp b/engines/cruise/backgroundIncrust.cpp
index b51e862..1685044 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;
}
More information about the Scummvm-git-logs
mailing list