aboutsummaryrefslogtreecommitdiff
path: root/engines/pegasus/items
diff options
context:
space:
mode:
authorMatthew Hoops2012-04-11 11:39:56 -0400
committerMatthew Hoops2012-04-11 11:39:56 -0400
commit5ee569bce634d6704703239e665d865afc4e48fb (patch)
tree88ce438f6a3f486ecdc3d8a555c8ae05ccf09856 /engines/pegasus/items
parentf087f20fa247ef780cb5172319064dec51f2cac5 (diff)
downloadscummvm-rg350-5ee569bce634d6704703239e665d865afc4e48fb.tar.gz
scummvm-rg350-5ee569bce634d6704703239e665d865afc4e48fb.tar.bz2
scummvm-rg350-5ee569bce634d6704703239e665d865afc4e48fb.zip
PEGASUS: Fix ghosted biochips when loading saved games
Could happen when loading saved games that have fewer biochips than you previously had.
Diffstat (limited to 'engines/pegasus/items')
-rw-r--r--engines/pegasus/items/inventorypicture.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/pegasus/items/inventorypicture.cpp b/engines/pegasus/items/inventorypicture.cpp
index 1f887773d6..84999c0b22 100644
--- a/engines/pegasus/items/inventorypicture.cpp
+++ b/engines/pegasus/items/inventorypicture.cpp
@@ -197,12 +197,12 @@ void InventoryPicture::activateInventoryPicture() {
_panelMovie.redrawMovieWorld();
}
- _panelMovie.setTime(0);
uint32 numSlots = _itemsPerRow * _numberOfRows;
for (uint32 i = numItems; i < numSlots; i++) {
getItemXY(i, x, y);
_panelMovie.moveMovieBoxTo(x, y);
+ _panelMovie.setTime(0);
_panelMovie.redrawMovieWorld();
}