[Scummvm-cvs-logs] SF.net SVN: scummvm: [28339] scummvm/trunk/engines/saga/sfuncs.cpp

thebluegr at users.sourceforge.net thebluegr at users.sourceforge.net
Mon Jul 30 23:13:51 CEST 2007


Revision: 28339
          http://scummvm.svn.sourceforge.net/scummvm/?rev=28339&view=rev
Author:   thebluegr
Date:     2007-07-30 14:13:51 -0700 (Mon, 30 Jul 2007)

Log Message:
-----------
Correct the object sprites only in Ted's part of the IHNM demo

Modified Paths:
--------------
    scummvm/trunk/engines/saga/sfuncs.cpp

Modified: scummvm/trunk/engines/saga/sfuncs.cpp
===================================================================
--- scummvm/trunk/engines/saga/sfuncs.cpp	2007-07-30 19:54:51 UTC (rev 28338)
+++ scummvm/trunk/engines/saga/sfuncs.cpp	2007-07-30 21:13:51 UTC (rev 28339)
@@ -282,9 +282,9 @@
 		// 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;
 		}
 


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.




More information about the Scummvm-git-logs mailing list