aboutsummaryrefslogtreecommitdiff
path: root/engines/pink/objects/module.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/pink/objects/module.cpp')
-rw-r--r--engines/pink/objects/module.cpp2
1 files changed, 1 insertions, 1 deletions
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;
}