diff options
author | Max Horn | 2004-01-15 19:25:17 +0000 |
---|---|---|
committer | Max Horn | 2004-01-15 19:25:17 +0000 |
commit | ac8243d22919a9da621daef429058d75b504c264 (patch) | |
tree | 6a1257b858c90ac6b94f0a1680415d978ecde093 /scumm/script_v6.cpp | |
parent | d45682f7c50a558ff6609e443ed70f786567ff72 (diff) | |
download | scummvm-rg350-ac8243d22919a9da621daef429058d75b504c264.tar.gz scummvm-rg350-ac8243d22919a9da621daef429058d75b504c264.tar.bz2 scummvm-rg350-ac8243d22919a9da621daef429058d75b504c264.zip |
use Rect in struct VerbSlot
svn-id: r12413
Diffstat (limited to 'scumm/script_v6.cpp')
-rw-r--r-- | scumm/script_v6.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/scumm/script_v6.cpp b/scumm/script_v6.cpp index abf6b601d7..dc316d271c 100644 --- a/scumm/script_v6.cpp +++ b/scumm/script_v6.cpp @@ -1867,8 +1867,8 @@ void ScummEngine_v6::o6_verbOps() { vs->hicolor = pop(); break; case 128: // SO_VERB_AT - vs->y = pop(); - vs->x = pop(); + vs->curRect.top = pop(); + vs->curRect.left = pop(); break; case 129: // SO_VERB_ON vs->curmode = 1; @@ -2682,11 +2682,11 @@ void ScummEngine_v6::o6_kernelGetFunctions() { break; case 213: slot = getVerbSlot(args[1], 0); - push(_verbs[slot].x); + push(_verbs[slot].curRect.left); break; case 214: slot = getVerbSlot(args[1], 0); - push(_verbs[slot].y); + push(_verbs[slot].curRect.top); break; case 215: if ((_extraBoxFlags[args[1]] & 0x00FF) == 0x00C0) { |