diff options
author | Max Horn | 2004-01-05 16:30:00 +0000 |
---|---|---|
committer | Max Horn | 2004-01-05 16:30:00 +0000 |
commit | f506056c3b0fee25445133aa9763fced5a131330 (patch) | |
tree | b7bea930c94043e637a96478039f46a4e1944098 /scumm/script_v8.cpp | |
parent | a469559d134822121b2268aebc9ca733985c2146 (diff) | |
download | scummvm-rg350-f506056c3b0fee25445133aa9763fced5a131330.tar.gz scummvm-rg350-f506056c3b0fee25445133aa9763fced5a131330.tar.bz2 scummvm-rg350-f506056c3b0fee25445133aa9763fced5a131330.zip |
more cleanup
svn-id: r12161
Diffstat (limited to 'scumm/script_v8.cpp')
-rw-r--r-- | scumm/script_v8.cpp | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/scumm/script_v8.cpp b/scumm/script_v8.cpp index 75c240fd10..eb8ac316d6 100644 --- a/scumm/script_v8.cpp +++ b/scumm/script_v8.cpp @@ -973,8 +973,7 @@ void ScummEngine_v8::o8_actorOps() { j = pop(); i = pop(); checkRange(31, 0, i, "Illegal palette slot %d"); - a->palette[i] = j; - a->needRedraw = true; + a->setPalette(i, j); break; case 0x70: // SO_ACTOR_TALK_COLOR Set actor talk color a->talkColor = pop(); @@ -986,8 +985,8 @@ void ScummEngine_v8::o8_actorOps() { a->width = pop(); break; case 0x73: // SO_ACTOR_SCALE Set scaling of actor - a->scalex = a->scaley = pop(); - a->needRedraw = true; + i = pop(); + a->setScale(i, i); break; case 0x74: // SO_ACTOR_NEVER_ZCLIP a->forceClip = 0; |