[Scummvm-cvs-logs] SF.net SVN: scummvm:[43254] scummvm/branches/gsoc2009-draci/engines/draci/ script.cpp
dkasak13 at users.sourceforge.net
dkasak13 at users.sourceforge.net
Tue Aug 11 06:14:39 CEST 2009
Revision: 43254
http://scummvm.svn.sourceforge.net/scummvm/?rev=43254&view=rev
Author: dkasak13
Date: 2009-08-11 04:14:38 +0000 (Tue, 11 Aug 2009)
Log Message:
-----------
Fix intro crash because of bug in the data files.
Modified Paths:
--------------
scummvm/branches/gsoc2009-draci/engines/draci/script.cpp
Modified: scummvm/branches/gsoc2009-draci/engines/draci/script.cpp
===================================================================
--- scummvm/branches/gsoc2009-draci/engines/draci/script.cpp 2009-08-11 04:03:22 UTC (rev 43253)
+++ scummvm/branches/gsoc2009-draci/engines/draci/script.cpp 2009-08-11 04:14:38 UTC (rev 43254)
@@ -397,6 +397,15 @@
int objID = params.pop();
int animID = params.pop();
+ // Fixes bug in the data files which makes the game crash in the intro
+ // TODO: This is possibly exclusive to the English version, so check for that
+ if (animID == 657) {
+ Common::Queue<int> tmp;
+ tmp.push(objID);
+ tmp.push(animID);
+ this->load(tmp);
+ }
+
objID -= 1;
animID -= 1;
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