aboutsummaryrefslogtreecommitdiff
path: root/engines/wage/wage.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/wage/wage.cpp')
-rw-r--r--engines/wage/wage.cpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/engines/wage/wage.cpp b/engines/wage/wage.cpp
index 566c1227e5..c1d70331ff 100644
--- a/engines/wage/wage.cpp
+++ b/engines/wage/wage.cpp
@@ -455,7 +455,11 @@ void WageEngine::processTurn(Common::String *textInput, Designed *clickInput) {
_commandWasQuick = false;
Scene *prevScene = _world->_player->_currentScene;
Chr *prevMonster = getMonster();
- Common::String input(*textInput);
+ Common::String input;
+
+ if (textInput)
+ input = *textInput;
+
input.toLowercase();
if (input.equals("e"))
input = "east";