From 711b7399a07d602df1b33f98a4b2225770b51c30 Mon Sep 17 00:00:00 2001 From: Andrei Prykhodko Date: Wed, 8 May 2019 11:23:44 +0300 Subject: PINK: removed unnecessary namespace in function declaration --- engines/pink/objects/condition.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'engines') diff --git a/engines/pink/objects/condition.cpp b/engines/pink/objects/condition.cpp index 646da7d05c..cc98651b5c 100644 --- a/engines/pink/objects/condition.cpp +++ b/engines/pink/objects/condition.cpp @@ -28,12 +28,12 @@ namespace Pink { -void Pink::ConditionVariable::deserialize(Archive &archive) { +void ConditionVariable::deserialize(Archive &archive) { _name = archive.readString(); _value = archive.readString(); } -bool Pink::ConditionGameVariable::evaluate(Actor *actor) { +bool ConditionGameVariable::evaluate(Actor *actor) { return actor->getPage()->getModule()->getGame()->checkValueOfVariable(_name, _value); } @@ -41,7 +41,7 @@ void ConditionGameVariable::toConsole() { debugC(6, kPinkDebugLoadingObjects, "\t\tConditionGameVariable: _name=%s, _value=%s", _name.c_str(), _value.c_str()); } -bool Pink::ConditionModuleVariable::evaluate(Actor *actor) { +bool ConditionModuleVariable::evaluate(Actor *actor) { return actor->getPage()->getModule()->checkValueOfVariable(_name, _value); } @@ -49,7 +49,7 @@ void ConditionModuleVariable::toConsole() { debugC(6, kPinkDebugLoadingObjects, "\t\tConditionModuleVariable: _name=%s, _value=%s", _name.c_str(), _value.c_str()); } -bool Pink::ConditionNotModuleVariable::evaluate(Actor *actor) { +bool ConditionNotModuleVariable::evaluate(Actor *actor) { return !ConditionModuleVariable::evaluate(actor); } -- cgit v1.2.3