From a7f560ca61461a933bcd4c8ebb25c2bfc7c77c10 Mon Sep 17 00:00:00 2001 From: Eugene Sandulenko Date: Tue, 23 Feb 2016 10:51:08 +0100 Subject: WAGE: Fix assert in string Operand, as it allows TEXT_INPUT as string --- engines/wage/script.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'engines') 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; } -- cgit v1.2.3