diff options
author | Eugene Sandulenko | 2016-01-03 00:30:57 +0100 |
---|---|---|
committer | Eugene Sandulenko | 2016-01-03 00:30:57 +0100 |
commit | 8ce82bd8b8242a9bacbab450322b0d0a2072f284 (patch) | |
tree | c250c98ec8b2df3c678458a119ca1cd4cdc47199 /engines/wage | |
parent | a210ff65a369b3463457470935d4eaf4679b0535 (diff) | |
download | scummvm-rg350-8ce82bd8b8242a9bacbab450322b0d0a2072f284.tar.gz scummvm-rg350-8ce82bd8b8242a9bacbab450322b0d0a2072f284.tar.bz2 scummvm-rg350-8ce82bd8b8242a9bacbab450322b0d0a2072f284.zip |
WAGE: Fix ifClick conditional
Diffstat (limited to 'engines/wage')
-rw-r--r-- | engines/wage/script.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/wage/script.cpp b/engines/wage/script.cpp index 0a55360714..d9d9252542 100644 --- a/engines/wage/script.cpp +++ b/engines/wage/script.cpp @@ -761,7 +761,7 @@ bool Script::evalClickEquality(Operand *lhs, Operand *rhs, bool partialMatch) { Common::String str = rhs->toString(); str.toLowercase(); - if (lhs->_type == CHR || lhs->_type == OBJ) { + if (lhs->_value.inputClick->_classType == CHR || lhs->_value.inputClick->_classType == OBJ) { Common::String name = lhs->_value.designed->_name; name.toLowercase(); |