aboutsummaryrefslogtreecommitdiff
path: root/engines/pink/objects
diff options
context:
space:
mode:
Diffstat (limited to 'engines/pink/objects')
-rw-r--r--engines/pink/objects/actions/walk_action.cpp2
-rw-r--r--engines/pink/objects/actors/lead_actor.cpp10
-rw-r--r--engines/pink/objects/actors/lead_actor.h2
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; }