[Scummvm-cvs-logs] SF.net SVN: scummvm:[41122] scummvm/trunk/engines/kyra/script_lol.cpp

athrxx at users.sourceforge.net athrxx at users.sourceforge.net
Tue Jun 2 08:19:41 CEST 2009


Revision: 41122
          http://scummvm.svn.sourceforge.net/scummvm/?rev=41122&view=rev
Author:   athrxx
Date:     2009-06-02 06:19:41 +0000 (Tue, 02 Jun 2009)

Log Message:
-----------
LOL: - fixed script bug reported by LordHoto

Modified Paths:
--------------
    scummvm/trunk/engines/kyra/script_lol.cpp

Modified: scummvm/trunk/engines/kyra/script_lol.cpp
===================================================================
--- scummvm/trunk/engines/kyra/script_lol.cpp	2009-06-02 06:03:49 UTC (rev 41121)
+++ scummvm/trunk/engines/kyra/script_lol.cpp	2009-06-02 06:19:41 UTC (rev 41122)
@@ -1499,6 +1499,14 @@
 	int includeMonsters = stackPos(3);
 	int includeItems = stackPos(5);
 
+	// WORKAROUND for script bug
+	// Items would vanish when thrown towards the stairs
+	// in white tower level 3.
+	if (_currentLevel == 21 && level == 21 && block == 0x3e0) {
+		level = 20;
+		block = 0x0247;
+	}
+
 	while (o) {
 		int l = o;
 		o = findObject(o)->nextAssignedObject;


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