diff options
author | Eugene Sandulenko | 2016-01-27 11:11:02 +0100 |
---|---|---|
committer | Eugene Sandulenko | 2016-02-14 17:12:53 +0100 |
commit | 34f9a1375dec7bf6b42104fd5ffed0c36c112130 (patch) | |
tree | 83162408ca872f30236fe4e515a55062e29fe8da /engines/wage/script.cpp | |
parent | 45afdbbd5c9e5ddb8ac470b0b05dcb65f1f75d39 (diff) | |
download | scummvm-rg350-34f9a1375dec7bf6b42104fd5ffed0c36c112130.tar.gz scummvm-rg350-34f9a1375dec7bf6b42104fd5ffed0c36c112130.tar.bz2 scummvm-rg350-34f9a1375dec7bf6b42104fd5ffed0c36c112130.zip |
WAGE: Get rid of Common::String import
Diffstat (limited to 'engines/wage/script.cpp')
-rw-r--r-- | engines/wage/script.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/engines/wage/script.cpp b/engines/wage/script.cpp index 410186e6ff..78ec766358 100644 --- a/engines/wage/script.cpp +++ b/engines/wage/script.cpp @@ -80,7 +80,7 @@ void Script::printLine(int offset) { } } -bool Script::execute(World *world, int loopCount, String *inputText, Designed *inputClick, WageEngine *engine) { +bool Script::execute(World *world, int loopCount, Common::String *inputText, Designed *inputClick, WageEngine *engine) { _world = world; _loopCount = loopCount; _inputText = inputText; @@ -384,10 +384,10 @@ void Script::assign(byte operandType, int uservar, uint16 value) { } Script::Operand *Script::readStringOperand() { - String *sb; + Common::String *sb; bool allDigits = true; - sb = new String(); + sb = new Common::String(); while (true) { byte c = _data->readByte(); |