aboutsummaryrefslogtreecommitdiff
path: root/engines/dreamweb/use.cpp
diff options
context:
space:
mode:
authorWillem Jan Palenstijn2011-12-11 22:27:05 +0100
committerWillem Jan Palenstijn2011-12-12 00:12:54 +0100
commitd416ea6abdad5ef487ed3b5624474e1212496233 (patch)
tree3c1ce308b610eeba9edcf9a77315f7c29598d787 /engines/dreamweb/use.cpp
parentcbe97db8f076e5a09b7f57791ddd44bfaae616ef (diff)
downloadscummvm-rg350-d416ea6abdad5ef487ed3b5624474e1212496233.tar.gz
scummvm-rg350-d416ea6abdad5ef487ed3b5624474e1212496233.tar.bz2
scummvm-rg350-d416ea6abdad5ef487ed3b5624474e1212496233.zip
DREAMWEB: Fix regressions in getBack1 and useLighter
Diffstat (limited to 'engines/dreamweb/use.cpp')
-rw-r--r--engines/dreamweb/use.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/dreamweb/use.cpp b/engines/dreamweb/use.cpp
index 9126b7e885..d328e1d662 100644
--- a/engines/dreamweb/use.cpp
+++ b/engines/dreamweb/use.cpp
@@ -1130,8 +1130,8 @@ void DreamGenContext::useLighter() {
cx = 300;
al = 9;
showPuzText();
- getExAd(data.byte(kWithobject));
- es.byte(bx + 2) = 255;
+ DynObject *withObj = getExAd(data.byte(kWithobject));
+ withObj->mapad[0] = 255;
data.byte(kGetback) = 1;
}
}