mirror of
https://github.com/libretro/scummvm.git
synced 2025-02-02 00:42:24 +00:00
PEGASUS: Fix ghosted biochips when loading saved games
Could happen when loading saved games that have fewer biochips than you previously had.
This commit is contained in:
parent
f087f20fa2
commit
5ee569bce6
@ -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();
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user