mirror of
https://github.com/libretro/scummvm.git
synced 2025-01-08 10:51:11 +00:00
WAGE: Fix ifClick conditional
This commit is contained in:
parent
a210ff65a3
commit
8ce82bd8b8
@ -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();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user