aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
Diffstat (limited to 'engines')
-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 2f7e66c840..fa23f1dc32 100644
--- a/engines/dreamweb/use.cpp
+++ b/engines/dreamweb/use.cpp
@@ -934,7 +934,7 @@ void DreamGenContext::useWinch() {
checkInside();
char id[4] = { 'F', 'U', 'S', 'E' }; // TODO: convert to string with trailing zero
- if (cl == 114 || !compare(cl, 4, id)) {
+ if (cl == kNumexobjects || !compare(cl, 4, id)) {
// No winch
showFirstUse();
putBackObStuff();
@@ -973,7 +973,7 @@ void DreamGenContext::useCart() {
DynObject *exObject = getExAd(data.byte(kWithobject));
exObject->mapad[0] = 0;
removeSetObject(data.byte(kCommand));
- placeSetObject(data.byte(kWithobject) + 1);
+ placeSetObject(data.byte(kCommand) + 1);
data.byte(kProgresspoints)++;
playChannel1(17);
showFirstUse();