diff options
author | Andrei Prykhodko | 2019-05-08 11:23:44 +0300 |
---|---|---|
committer | Andrei Prykhodko | 2019-05-08 11:23:44 +0300 |
commit | 711b7399a07d602df1b33f98a4b2225770b51c30 (patch) | |
tree | e7ffeb48bf44f585fb25eaa0d3da455fc7f60b6f /engines/pink | |
parent | 782488f981c42b1516c77efd1791adc8356d543f (diff) | |
download | scummvm-rg350-711b7399a07d602df1b33f98a4b2225770b51c30.tar.gz scummvm-rg350-711b7399a07d602df1b33f98a4b2225770b51c30.tar.bz2 scummvm-rg350-711b7399a07d602df1b33f98a4b2225770b51c30.zip |
PINK: removed unnecessary namespace in function declaration
Diffstat (limited to 'engines/pink')
-rw-r--r-- | engines/pink/objects/condition.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
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); } |