diff options
author | Andrei Prykhodko | 2018-06-27 22:45:45 +0300 |
---|---|---|
committer | Eugene Sandulenko | 2018-06-28 23:51:32 +0200 |
commit | feb3fde1cf0d026c761cda0ee05a93cfc93a38d7 (patch) | |
tree | 7a4acc11ff901fd79104ccecee02a93550f8025e /engines/pink/objects | |
parent | 8a606ed8a89cb4ef3d43beffb2b4225afa6ab18b (diff) | |
download | scummvm-rg350-feb3fde1cf0d026c761cda0ee05a93cfc93a38d7.tar.gz scummvm-rg350-feb3fde1cf0d026c761cda0ee05a93cfc93a38d7.tar.bz2 scummvm-rg350-feb3fde1cf0d026c761cda0ee05a93cfc93a38d7.zip |
PINK: JANITORIAL: formatting fixes
Diffstat (limited to 'engines/pink/objects')
-rw-r--r-- | engines/pink/objects/actions/walk_action.cpp | 2 | ||||
-rw-r--r-- | engines/pink/objects/actors/lead_actor.cpp | 10 | ||||
-rw-r--r-- | engines/pink/objects/actors/lead_actor.h | 2 |
3 files changed, 7 insertions, 7 deletions
diff --git a/engines/pink/objects/actions/walk_action.cpp b/engines/pink/objects/actions/walk_action.cpp index cc02ef611e..167cdec8cd 100644 --- a/engines/pink/objects/actions/walk_action.cpp +++ b/engines/pink/objects/actions/walk_action.cpp @@ -49,7 +49,7 @@ void WalkAction::onStart() { _frameCount = _decoder.getFrameCount(); } else { - _frameCount = (uint) abs(3 * (_start.x - _end.x) / (int)_z); + _frameCount = (uint)abs(3 * (_start.x - _end.x) / (int)_z); if (!_frameCount) _frameCount = 1; } diff --git a/engines/pink/objects/actors/lead_actor.cpp b/engines/pink/objects/actors/lead_actor.cpp index 8c8f968bfb..ce0ceb11da 100644 --- a/engines/pink/objects/actors/lead_actor.cpp +++ b/engines/pink/objects/actors/lead_actor.cpp @@ -483,16 +483,16 @@ bool PubPink::sendUseClickMessage(Actor *actor) { const char *roundName; switch (_round++ % 3) { - case 0: + case 0: roundName = kFirstRound; break; - case 1: + case 1: roundName = kSecondRound; break; - case 2: + case 2: roundName = kThirdRound; break; - default: + default: roundName = nullptr; assert(0); } @@ -500,7 +500,7 @@ bool PubPink::sendUseClickMessage(Actor *actor) { } if (playingMiniGame()) - _isHaveItem = true; + _isHaveItem = true; return true; } diff --git a/engines/pink/objects/actors/lead_actor.h b/engines/pink/objects/actors/lead_actor.h index d7cafb021f..4275578b85 100644 --- a/engines/pink/objects/actors/lead_actor.h +++ b/engines/pink/objects/actors/lead_actor.h @@ -86,7 +86,7 @@ public: bool isInteractingWith(Actor *actor); - void setNextExecutors (const Common::String &nextModule, const Common::String &nextPage); + void setNextExecutors(const Common::String &nextModule, const Common::String &nextPage); State getState() const { return _state; } |