diff options
author | Max Horn | 2003-07-02 11:26:13 +0000 |
---|---|---|
committer | Max Horn | 2003-07-02 11:26:13 +0000 |
commit | 302f67e43f2d1f8a5755b77d0cc79daf4dec58c4 (patch) | |
tree | f1841006123dc231e2f3aef143a1d195e76121a1 | |
parent | fe8719d7bd521316c5adbddab489c59fbba20512 (diff) | |
download | scummvm-rg350-302f67e43f2d1f8a5755b77d0cc79daf4dec58c4.tar.gz scummvm-rg350-302f67e43f2d1f8a5755b77d0cc79daf4dec58c4.tar.bz2 scummvm-rg350-302f67e43f2d1f8a5755b77d0cc79daf4dec58c4.zip |
fix for bug #752865: MM: Man-Eating Plant is invisible
svn-id: r8708
-rw-r--r-- | scumm/script_v2.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/scumm/script_v2.cpp b/scumm/script_v2.cpp index 956c1687c3..cd87c62598 100644 --- a/scumm/script_v2.cpp +++ b/scumm/script_v2.cpp @@ -1061,15 +1061,15 @@ void Scumm_v2::o2_putActorAtObject() { } void Scumm_v2::o2_getActorElevation() { - getResultPos(); - int act = getVarOrDirectByte(0x80); - Actor *a = derefActor(act, "o2_getActorElevation"); - setResult(a->elevation / 2); + getResultPos(); + int act = getVarOrDirectByte(0x80); + Actor *a = derefActor(act, "o2_getActorElevation"); + setResult(a->elevation / 2); } void Scumm_v2::o2_setActorElevation() { int act = getVarOrDirectByte(0x80); - int elevation = getVarOrDirectByte(0x40); + int elevation = (int8)getVarOrDirectByte(0x40); Actor *a = derefActor(act, "o2_setActorElevation"); a->elevation = elevation * 2; |