[Scummvm-cvs-logs] SF.net SVN: scummvm:[50935] scummvm/trunk/engines/sci/engine/kmovement.cpp

m_kiewitz at users.sourceforge.net m_kiewitz at users.sourceforge.net
Fri Jul 16 12:12:32 CEST 2010


Revision: 50935
          http://scummvm.svn.sourceforge.net/scummvm/?rev=50935&view=rev
Author:   m_kiewitz
Date:     2010-07-16 10:12:31 +0000 (Fri, 16 Jul 2010)

Log Message:
-----------
SCI: enable r50931 for sci1late+ only, lsl1vga doesn't like it (ego gets stuck)

Modified Paths:
--------------
    scummvm/trunk/engines/sci/engine/kmovement.cpp

Modified: scummvm/trunk/engines/sci/engine/kmovement.cpp
===================================================================
--- scummvm/trunk/engines/sci/engine/kmovement.cpp	2010-07-16 10:00:58 UTC (rev 50934)
+++ scummvm/trunk/engines/sci/engine/kmovement.cpp	2010-07-16 10:12:31 UTC (rev 50935)
@@ -267,13 +267,10 @@
 	bdelta = (int16)readSelectorValue(segMan, mover, SELECTOR(b_incr));
 	axis = (int16)readSelectorValue(segMan, mover, SELECTOR(b_xAxis));
 
-	if ((getSciVersion() >= SCI_VERSION_1_MIDDLE)) {
-		// Introduced inbetween SCI1MIDDLE, lsl5 demo doesn't have it, longbow demo has
-		if (SELECTOR(xLast) != -1) {
-			// save last position into mover
-			writeSelectorValue(segMan, mover, SELECTOR(xLast), x);
-			writeSelectorValue(segMan, mover, SELECTOR(yLast), y);
-		}
+	if ((getSciVersion() >= SCI_VERSION_1_LATE)) {
+		// save last position into mover
+		writeSelectorValue(segMan, mover, SELECTOR(xLast), x);
+		writeSelectorValue(segMan, mover, SELECTOR(yLast), y);
 	}
 
 	//printf("movecnt %d, move speed %d\n", movcnt, max_movcnt);


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