Skip to content

Commit

Permalink
PEGASUS: Fix ghosted biochips when loading saved games
Browse files Browse the repository at this point in the history
Could happen when loading saved games that have fewer biochips than you previously had.
  • Loading branch information
Matthew Hoops committed Apr 11, 2012
1 parent f087f20 commit 5ee569b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion engines/pegasus/items/inventorypicture.cpp
Expand Up @@ -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();
}

Expand Down

0 comments on commit 5ee569b

Please sign in to comment.