From feb3fde1cf0d026c761cda0ee05a93cfc93a38d7 Mon Sep 17 00:00:00 2001 From: Andrei Prykhodko Date: Wed, 27 Jun 2018 22:45:45 +0300 Subject: PINK: JANITORIAL: formatting fixes --- engines/pink/objects/actions/walk_action.cpp | 2 +- engines/pink/objects/actors/lead_actor.cpp | 10 +++++----- engines/pink/objects/actors/lead_actor.h | 2 +- 3 files changed, 7 insertions(+), 7 deletions(-) (limited to 'engines/pink/objects') 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; } -- cgit v1.2.3