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/script.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/script.cpp')
-rw-r--r-- | scumm/script.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/scumm/script.cpp b/scumm/script.cpp index 9a9ffd72a4..0d12dbe129 100644 --- a/scumm/script.cpp +++ b/scumm/script.cpp @@ -647,14 +647,14 @@ void Scumm::stopObjectCode() { _currentScript = 0xFF; } -void Scumm::runHook(int i) { +void Scumm::runInventoryScript(int i) { if (_version <= 2) { - // FIXME - TODO + redrawV2Inventory(); } else { int tmp[16]; tmp[0] = i; - if (VAR(VAR_HOOK_SCRIPT)) { - runScript(VAR(VAR_HOOK_SCRIPT), 0, 0, tmp); + if (VAR(VAR_INVENTORY_SCRIPT)) { + runScript(VAR(VAR_INVENTORY_SCRIPT), 0, 0, tmp); } } } |