diff options
| author | Max Horn | 2004-01-05 16:19:14 +0000 |
|---|---|---|
| committer | Max Horn | 2004-01-05 16:19:14 +0000 |
| commit | a469559d134822121b2268aebc9ca733985c2146 (patch) | |
| tree | ad2e3f3b77092292db301cec9a20e7509b5064cf /scumm/script_v8.cpp | |
| parent | 6a7cf6d6cfb4be5d212a8d27304e11820125679e (diff) | |
| download | scummvm-rg350-a469559d134822121b2268aebc9ca733985c2146.tar.gz scummvm-rg350-a469559d134822121b2268aebc9ca733985c2146.tar.bz2 scummvm-rg350-a469559d134822121b2268aebc9ca733985c2146.zip | |
added Actor::getElevation and Actor::setElevation; cleaned up costume API a bit; some minor cleanup/tweaks
svn-id: r12160
Diffstat (limited to 'scumm/script_v8.cpp')
| -rw-r--r-- | scumm/script_v8.cpp | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/scumm/script_v8.cpp b/scumm/script_v8.cpp index a88e65cf0c..75c240fd10 100644 --- a/scumm/script_v8.cpp +++ b/scumm/script_v8.cpp @@ -967,11 +967,7 @@ void ScummEngine_v8::o8_actorOps() { a->initActor(0); break; case 0x6E: // SO_ACTOR_ELEVATION - i = pop(); - if (i != a->elevation) { - a->elevation = i; - a->needRedraw = true; - } + a->setElevation(pop()); break; case 0x6F: // SO_ACTOR_PALETTE Set actor palette j = pop(); |
