diff options
Diffstat (limited to 'scumm/script_v2.cpp')
-rw-r--r-- | scumm/script_v2.cpp | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/scumm/script_v2.cpp b/scumm/script_v2.cpp index 5b37c7fb59..396156d75f 100644 --- a/scumm/script_v2.cpp +++ b/scumm/script_v2.cpp @@ -1153,7 +1153,6 @@ void Scumm_v2::o2_setOwnerOf() { owner = getVarOrDirectByte(0x40); setOwnerOf(obj, owner); - redrawV2Inventory(); } void Scumm_v2::o2_delay() { @@ -1296,7 +1295,7 @@ void Scumm_v2::o2_pickupObject() { putState(obj, getState(obj) | 0xA); clearDrawObjectQueue(); - redrawV2Inventory(); + runInventoryScript(1); } void Scumm_v2::o2_setObjectName() { @@ -1344,7 +1343,7 @@ void Scumm_v2::o2_setObjectName() { work[i-1] = 0; memcpy(name, work, i); - redrawV2Inventory(); + runInventoryScript(0); } void Scumm_v2::o2_cursorCommand() { // TODO: Define the magic numbers @@ -1357,7 +1356,7 @@ void Scumm_v2::o2_cursorCommand() { // TODO: Define the magic numbers if (a2 & 4) { // Userface _userState = a2 & (32 | 64 | 128); - redrawV2Inventory(); + runInventoryScript(0); } if (a2 & 1) { // Freeze |