aboutsummaryrefslogtreecommitdiff
path: root/scumm
diff options
context:
space:
mode:
authorMax Horn2003-07-02 11:26:13 +0000
committerMax Horn2003-07-02 11:26:13 +0000
commit302f67e43f2d1f8a5755b77d0cc79daf4dec58c4 (patch)
treef1841006123dc231e2f3aef143a1d195e76121a1 /scumm
parentfe8719d7bd521316c5adbddab489c59fbba20512 (diff)
downloadscummvm-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
Diffstat (limited to 'scumm')
-rw-r--r--scumm/script_v2.cpp10
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;