aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFilippos Karapetis2007-07-30 21:13:51 +0000
committerFilippos Karapetis2007-07-30 21:13:51 +0000
commit1856a0f11b3f74064a105c2a4a8431e87c958568 (patch)
tree6ebc113fa2b590343468a0f9e0b36a8fa2c7405b
parent2dd1dd53000918abba04156845fce2f50182657e (diff)
downloadscummvm-rg350-1856a0f11b3f74064a105c2a4a8431e87c958568.tar.gz
scummvm-rg350-1856a0f11b3f74064a105c2a4a8431e87c958568.tar.bz2
scummvm-rg350-1856a0f11b3f74064a105c2a4a8431e87c958568.zip
Correct the object sprites only in Ted's part of the IHNM demo
svn-id: r28339
-rw-r--r--engines/saga/sfuncs.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/saga/sfuncs.cpp b/engines/saga/sfuncs.cpp
index f6aa21cb02..bbbe7a35ac 100644
--- a/engines/saga/sfuncs.cpp
+++ b/engines/saga/sfuncs.cpp
@@ -282,9 +282,9 @@ void Script::sfTakeObject(SCRIPTFUNC_PARAMS) {
// WORKAROUND for two incorrect object sprites in the IHNM demo
// (the mirror and the icon in Ted's part). Set them correctly here
if (_vm->getGameId() == GID_IHNM_DEMO) {
- if (obj->_spriteListResourceId == 4)
+ if (obj->_spriteListResourceId == 4 && objectId == 16408)
obj->_spriteListResourceId = 24;
- if (obj->_spriteListResourceId == 3)
+ if (obj->_spriteListResourceId == 3 && objectId == 16409)
obj->_spriteListResourceId = 25;
}