diff options
author | Eugene Sandulenko | 2016-02-23 10:51:08 +0100 |
---|---|---|
committer | Eugene Sandulenko | 2016-02-23 11:18:44 +0100 |
commit | a7f560ca61461a933bcd4c8ebb25c2bfc7c77c10 (patch) | |
tree | 029a762ba5e57aca3a1aa4ca7336a9bd9f96e775 | |
parent | ea0fb987e042a86b8da683cafa7b9cf04d1636e6 (diff) | |
download | scummvm-rg350-a7f560ca61461a933bcd4c8ebb25c2bfc7c77c10.tar.gz scummvm-rg350-a7f560ca61461a933bcd4c8ebb25c2bfc7c77c10.tar.bz2 scummvm-rg350-a7f560ca61461a933bcd4c8ebb25c2bfc7c77c10.zip |
WAGE: Fix assert in string Operand, as it allows TEXT_INPUT as string
-rw-r--r-- | engines/wage/script.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/wage/script.h b/engines/wage/script.h index a91598094c..325733add7 100644 --- a/engines/wage/script.h +++ b/engines/wage/script.h @@ -104,7 +104,7 @@ private: Operand(Common::String *value, OperandType type) { _value.string = value; - assert(type == STRING); + assert(type == STRING || type == TEXT_INPUT); _type = type; } |