diff options
author | Max Horn | 2003-05-21 18:58:29 +0000 |
---|---|---|
committer | Max Horn | 2003-05-21 18:58:29 +0000 |
commit | 48a27e94e6212233f9eb9a2197b1fa51f8c11839 (patch) | |
tree | 01bf03794dbfbe8e85395272a4cdcef4a95a4b4c /scumm | |
parent | e5152405da0ff6facd7b59004b835d88f88d4025 (diff) | |
download | scummvm-rg350-48a27e94e6212233f9eb9a2197b1fa51f8c11839.tar.gz scummvm-rg350-48a27e94e6212233f9eb9a2197b1fa51f8c11839.tar.bz2 scummvm-rg350-48a27e94e6212233f9eb9a2197b1fa51f8c11839.zip |
fix verb 250 is mapped to 253 in V2, with the 'recursive' flag set
svn-id: r7800
Diffstat (limited to 'scumm')
-rw-r--r-- | scumm/script_v2.cpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/scumm/script_v2.cpp b/scumm/script_v2.cpp index 509775a9a9..70c15e3440 100644 --- a/scumm/script_v2.cpp +++ b/scumm/script_v2.cpp @@ -862,7 +862,11 @@ void Scumm_v2::o2_doSentence() { VAR(VAR_ACTIVE_VERB) = st->verb; VAR(VAR_ACTIVE_OBJECT1) = st->objectA; VAR(VAR_ACTIVE_OBJECT2) = st->objectB; - runObjectScript(st->objectA, st->verb, 0, 0, NULL); + + if (st->verb == 250) + runObjectScript(st->objectA, 253, false, true, NULL); + else + runObjectScript(st->objectA, st->verb, false, false, NULL); break; case 2: |