diff options
| author | Andrei Prykhodko | 2018-06-29 14:26:22 +0300 |
|---|---|---|
| committer | Andrei Prykhodko | 2018-06-29 14:43:57 +0300 |
| commit | 0c1ef839b6505faac77cf8ebc5540cf4fccf9a87 (patch) | |
| tree | 3d521446ba811bbae0d05b143d8fca76b11c86bd /engines/pink/objects/actors | |
| parent | 34319e3ac62d7c2dab592c9b85212eb992b1233b (diff) | |
| download | scummvm-rg350-0c1ef839b6505faac77cf8ebc5540cf4fccf9a87.tar.gz scummvm-rg350-0c1ef839b6505faac77cf8ebc5540cf4fccf9a87.tar.bz2 scummvm-rg350-0c1ef839b6505faac77cf8ebc5540cf4fccf9a87.zip | |
PINK: added more constants
Diffstat (limited to 'engines/pink/objects/actors')
| -rw-r--r-- | engines/pink/objects/actors/lead_actor.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/engines/pink/objects/actors/lead_actor.cpp b/engines/pink/objects/actors/lead_actor.cpp index e30fcb937b..be0e91a669 100644 --- a/engines/pink/objects/actors/lead_actor.cpp +++ b/engines/pink/objects/actors/lead_actor.cpp @@ -436,7 +436,7 @@ void ParlSqPink::toConsole() { } WalkLocation *ParlSqPink::getWalkDestination() { - if (_recipient->getName() == kBoy && _page->checkValueOfVariable(kBoyBlocked, "UNDEFINED")) + if (_recipient->getName() == kBoy && _page->checkValueOfVariable(kBoyBlocked, kUndefinedValue)) return _walkMgr->findLocation(kSirBaldley); return LeadActor::getWalkDestination(); @@ -492,8 +492,8 @@ WalkLocation *PubPink::getWalkDestination() { } bool PubPink::playingMiniGame() { - return !(_page->checkValueOfVariable(kFoodPuzzle, "TRUE") || - _page->checkValueOfVariable(kFoodPuzzle, "UNDEFINED")); + return !(_page->checkValueOfVariable(kFoodPuzzle, kTrueValue) || + _page->checkValueOfVariable(kFoodPuzzle, kUndefinedValue)); } } // End of namespace Pink |
