aboutsummaryrefslogtreecommitdiff
path: root/engines/lab/engine.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/lab/engine.cpp')
-rw-r--r--engines/lab/engine.cpp13
1 files changed, 2 insertions, 11 deletions
diff --git a/engines/lab/engine.cpp b/engines/lab/engine.cpp
index 051ccacd78..d7d9f3b577 100644
--- a/engines/lab/engine.cpp
+++ b/engines/lab/engine.cpp
@@ -864,17 +864,8 @@ bool LabEngine::from_crumbs(uint32 tmpClass, uint16 code, uint16 Qualifier, Comm
perFlipGadget(actionMode);
- if (gadgetId == 0)
- drawStaticMessage(kTextTakeWhat);
- else if (gadgetId == 1)
- drawStaticMessage(kTextMoveWhat);
- else if (gadgetId == 2)
- drawStaticMessage(kTextOpenWhat);
- else if (gadgetId == 3)
- drawStaticMessage(kTextCloseWhat);
- else if (gadgetId == 4)
- drawStaticMessage(kTextLookWhat);
-
+ if (gadgetId <= 4)
+ drawStaticMessage(kTextTakeWhat + gadgetId);
screenUpdate();
}
} else if (gadgetId == 9) {