diff options
author | Max Horn | 2003-05-23 00:59:46 +0000 |
---|---|---|
committer | Max Horn | 2003-05-23 00:59:46 +0000 |
commit | 9e588830097e7a1c3d5371296885094a8ac5107c (patch) | |
tree | fccaf004bab3e765a5648d4b648e95ba10ef8a04 /scumm/script_v2.cpp | |
parent | 4fc70168b44a5703b56302fd62cf09d3e668ba7b (diff) | |
download | scummvm-rg350-9e588830097e7a1c3d5371296885094a8ac5107c.tar.gz scummvm-rg350-9e588830097e7a1c3d5371296885094a8ac5107c.tar.bz2 scummvm-rg350-9e588830097e7a1c3d5371296885094a8ac5107c.zip |
added two more redrawV2Inventory invocations; removed calls to runHook (it does nothing in V2)
svn-id: r7842
Diffstat (limited to 'scumm/script_v2.cpp')
-rw-r--r-- | scumm/script_v2.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/scumm/script_v2.cpp b/scumm/script_v2.cpp index 51b4ad7dc2..4682900995 100644 --- a/scumm/script_v2.cpp +++ b/scumm/script_v2.cpp @@ -1146,7 +1146,7 @@ void Scumm_v2::o2_setOwnerOf() { owner = getVarOrDirectByte(0x40); setOwnerOf(obj, owner); - runHook(0); + redrawV2Inventory(); } void Scumm_v2::o2_delay() { @@ -1286,7 +1286,6 @@ void Scumm_v2::o2_pickupObject() { putOwner(obj, VAR(VAR_EGO)); putState(obj, getState(obj) | 0xA); clearDrawObjectQueue(); - runHook(1); redrawV2Inventory(); } @@ -1326,7 +1325,7 @@ void Scumm_v2::o2_setObjectName() { } memcpy(name, work, i + 1); - runHook(0); + redrawV2Inventory(); } void Scumm_v2::o2_cursorCommand() { // TODO: Define the magic numbers |