[Scummvm-cvs-logs] scummvm master -> b9f6121194b2e4e6984daba86041b2cbe63be171

clone2727 clone2727 at gmail.com
Sun Sep 23 01:53:19 CEST 2012


This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .

Summary:
b9f6121194 PEGASUS: Fix restoring correct biochip after sub chase


Commit: b9f6121194b2e4e6984daba86041b2cbe63be171
    https://github.com/scummvm/scummvm/commit/b9f6121194b2e4e6984daba86041b2cbe63be171
Author: Matthew Hoops (clone2727 at gmail.com)
Date: 2012-09-22T16:46:51-07:00

Commit Message:
PEGASUS: Fix restoring correct biochip after sub chase

Changed paths:
    engines/pegasus/pegasus.cpp



diff --git a/engines/pegasus/pegasus.cpp b/engines/pegasus/pegasus.cpp
index dbd9ec2..4402eb4 100644
--- a/engines/pegasus/pegasus.cpp
+++ b/engines/pegasus/pegasus.cpp
@@ -1313,9 +1313,9 @@ void PegasusEngine::throwAwayEverything() {
 		_currentItemID = kNoItemID;
 
 	if (_biochips.getNumItems() != 0 && g_interface)
-		_currentItemID = g_interface->getCurrentBiochip()->getObjectID();
+		_currentBiochipID = g_interface->getCurrentBiochip()->getObjectID();
 	else
-		_currentItemID = kNoItemID;
+		_currentBiochipID = kNoItemID;
 
 	useMenu(0);
 	useNeighborhood(0);






More information about the Scummvm-git-logs mailing list