aboutsummaryrefslogtreecommitdiff
path: root/engines/pink/objects/pages
diff options
context:
space:
mode:
authorwhiterandrek2018-04-27 08:36:43 +0300
committerEugene Sandulenko2018-06-28 23:51:32 +0200
commit2f43cbafa0da1266ab55e39b94a88af65c844ea0 (patch)
tree70939f017fa9a78f2f0d3450453c2a7d96237ade /engines/pink/objects/pages
parent8c5bfed75678dd8b083c1cc024bbd80f1facb13c (diff)
downloadscummvm-rg350-2f43cbafa0da1266ab55e39b94a88af65c844ea0.tar.gz
scummvm-rg350-2f43cbafa0da1266ab55e39b94a88af65c844ea0.tar.bz2
scummvm-rg350-2f43cbafa0da1266ab55e39b94a88af65c844ea0.zip
PINK: moved more values to constants section
Diffstat (limited to 'engines/pink/objects/pages')
-rw-r--r--engines/pink/objects/pages/game_page.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/pink/objects/pages/game_page.cpp b/engines/pink/objects/pages/game_page.cpp
index e38bed8da8..6b029fbae3 100644
--- a/engines/pink/objects/pages/game_page.cpp
+++ b/engines/pink/objects/pages/game_page.cpp
@@ -133,7 +133,7 @@ Module *GamePage::getModule() const {
bool GamePage::checkValueOfVariable(Common::String &variable, Common::String &value) {
if (!_variables.contains(variable))
- return value == "UNDEFINED";
+ return value == kUndefined;
return _variables[variable] == value;
}