From 35cce4123c61f8cfbc80ced25a9c7a3f9b46b6e7 Mon Sep 17 00:00:00 2001 From: Eugene Sandulenko Date: Fri, 25 Dec 2015 00:00:56 +0100 Subject: WAGE: Cleanup --- engines/wage/script.cpp | 2 -- engines/wage/script.h | 1 - engines/wage/wage.cpp | 1 - 3 files changed, 4 deletions(-) (limited to 'engines') diff --git a/engines/wage/script.cpp b/engines/wage/script.cpp index 3be3d599a0..8b842f847a 100644 --- a/engines/wage/script.cpp +++ b/engines/wage/script.cpp @@ -389,14 +389,12 @@ Script::Operand *Script::readStringOperand() { _data->seek(-1, SEEK_CUR); if (allDigits && sb->size() > 0) { - debug(0, "Read number %s", sb->c_str()); int r = atol(sb->c_str()); delete sb; return new Operand(r, NUMBER); } else { // TODO: This string could be a room name or something like that. - debug(0, "Read string %s", sb->c_str()); return new Operand(sb, STRING); } } diff --git a/engines/wage/script.h b/engines/wage/script.h index 10612196e6..0cf6785fc6 100644 --- a/engines/wage/script.h +++ b/engines/wage/script.h @@ -63,7 +63,6 @@ private: int _loopCount; String *_inputText; Designed *_inputClick; - bool _evalResult; bool _handled; class Operand { diff --git a/engines/wage/wage.cpp b/engines/wage/wage.cpp index 1a8c85cdcd..1cf0dde8d9 100644 --- a/engines/wage/wage.cpp +++ b/engines/wage/wage.cpp @@ -113,7 +113,6 @@ Common::Error WageEngine::run() { Common::String input("look"); _world->_player->_currentScene = _world->_orderedScenes[1]; - _world->_globalScript->print(); _world->_globalScript->execute(_world, 1, &input, NULL, this); //_world->_orderedScenes[1]->_design->paint(&screen, _world->_patterns, false); -- cgit v1.2.3