aboutsummaryrefslogtreecommitdiff
path: root/engines/pegasus/pegasus.cpp
diff options
context:
space:
mode:
authorMatthew Hoops2012-09-22 19:46:51 -0400
committerMatthew Hoops2012-09-22 19:46:51 -0400
commitb9f6121194b2e4e6984daba86041b2cbe63be171 (patch)
tree84c3f43f73a2a72045feccfae96e5f67e34b5a9d /engines/pegasus/pegasus.cpp
parentad632d88d92a31d11d96651c58f3ec0fe8544812 (diff)
downloadscummvm-rg350-b9f6121194b2e4e6984daba86041b2cbe63be171.tar.gz
scummvm-rg350-b9f6121194b2e4e6984daba86041b2cbe63be171.tar.bz2
scummvm-rg350-b9f6121194b2e4e6984daba86041b2cbe63be171.zip
PEGASUS: Fix restoring correct biochip after sub chase
Diffstat (limited to 'engines/pegasus/pegasus.cpp')
-rw-r--r--engines/pegasus/pegasus.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/pegasus/pegasus.cpp b/engines/pegasus/pegasus.cpp
index dbd9ec2a28..4402eb412f 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);