mirror of
https://github.com/libretro/scummvm.git
synced 2025-01-20 00:45:10 +00:00
Ooops, inventory still needs to be clear when moving through inventory.
svn-id: r9840
This commit is contained in:
parent
4b6800fcf9
commit
14e3dd96e0
@ -197,12 +197,20 @@ void Scumm::checkV2Inventory(int x, int y) {
|
||||
void Scumm::redrawV2Inventory() {
|
||||
int i;
|
||||
int max_inv;
|
||||
ScummVM::Rect inventoryBox;
|
||||
|
||||
v2_mouseover_box = -1;
|
||||
|
||||
if (!(_userState & 64)) // Don't draw inventory unless active
|
||||
return;
|
||||
|
||||
// Clear on all invocations
|
||||
inventoryBox.top = virtscr[2].topline + 32;
|
||||
inventoryBox.bottom = virtscr[2].topline + virtscr[2].height;
|
||||
inventoryBox.left = 0;
|
||||
inventoryBox.right = virtscr[2].width;
|
||||
restoreBG(inventoryBox);
|
||||
|
||||
_string[1].charset = 1;
|
||||
|
||||
max_inv = getInventoryCount(_scummVars[VAR_EGO]) - _inventoryOffset;
|
||||
|
Loading…
x
Reference in New Issue
Block a user