From 2f43cbafa0da1266ab55e39b94a88af65c844ea0 Mon Sep 17 00:00:00 2001 From: whiterandrek Date: Fri, 27 Apr 2018 08:36:43 +0300 Subject: PINK: moved more values to constants section --- engines/pink/objects/module.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'engines/pink/objects/module.cpp') diff --git a/engines/pink/objects/module.cpp b/engines/pink/objects/module.cpp index d35f794540..46ea8e11e4 100644 --- a/engines/pink/objects/module.cpp +++ b/engines/pink/objects/module.cpp @@ -88,7 +88,7 @@ PinkEngine *Module::getGame() const { bool Module::checkValueOfVariable(Common::String &variable, Common::String &value) { if (!_variables.contains(variable)) - return value == "UNDEFINED"; + return value == kUndefined; return _variables[variable] == value; } -- cgit v1.2.3