diff options
author | Max Horn | 2003-06-14 12:23:30 +0000 |
---|---|---|
committer | Max Horn | 2003-06-14 12:23:30 +0000 |
commit | f4a31da51362034d7abe5699f9c7e2096060dfad (patch) | |
tree | 371cee3ca76b65951b1141f7b0b03c2c7ae688c4 /scumm/object.cpp | |
parent | aa83d4fd3175b62bbf272c38513d177cb0f1d5b0 (diff) | |
download | scummvm-rg350-f4a31da51362034d7abe5699f9c7e2096060dfad.tar.gz scummvm-rg350-f4a31da51362034d7abe5699f9c7e2096060dfad.tar.bz2 scummvm-rg350-f4a31da51362034d7abe5699f9c7e2096060dfad.zip |
runHook -> runInventoryScript, VAR_HOOK_SCRIPT -> VAR_INVENTORY_SCRIPT
svn-id: r8468
Diffstat (limited to 'scumm/object.cpp')
-rw-r--r-- | scumm/object.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scumm/object.cpp b/scumm/object.cpp index 4bbdf05769..8b10881c22 100644 --- a/scumm/object.cpp +++ b/scumm/object.cpp @@ -1171,7 +1171,7 @@ void Scumm::setOwnerOf(int obj, int owner) { ss = &vm.slot[_currentScript]; if (ss->where == WIO_INVENTORY && _inventory[ss->number] == obj) { putOwner(obj, 0); - runHook(0); + runInventoryScript(0); stopObjectCode(); return; } @@ -1180,7 +1180,7 @@ void Scumm::setOwnerOf(int obj, int owner) { SamInventoryHack(obj); putOwner(obj, owner); - runHook(0); + runInventoryScript(0); } int Scumm::getObjX(int obj) { |