aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--engines/pink/director.cpp3
-rw-r--r--engines/pink/objects/actions/action_loop.cpp6
-rw-r--r--engines/pink/objects/actors/supporting_actor.cpp3
3 files changed, 4 insertions, 8 deletions
diff --git a/engines/pink/director.cpp b/engines/pink/director.cpp
index 221118588e..bb781a5c27 100644
--- a/engines/pink/director.cpp
+++ b/engines/pink/director.cpp
@@ -126,8 +126,7 @@ void Director::draw() {
_dirtyRects.resize(0);
_surface.update();
- }
- else
+ } else
g_system->updateScreen();
}
diff --git a/engines/pink/objects/actions/action_loop.cpp b/engines/pink/objects/actions/action_loop.cpp
index ed548ef30c..c54d06fac3 100644
--- a/engines/pink/objects/actions/action_loop.cpp
+++ b/engines/pink/objects/actions/action_loop.cpp
@@ -61,8 +61,7 @@ void ActionLoop::update() {
if (frame < _startFrame) {
decodeNext();
return;
- }
- else
+ } else
_inLoop = true;
}
@@ -76,8 +75,7 @@ void ActionLoop::update() {
setFrame(_stopFrame - 1);
decodeNext();
}
- }
- else {
+ } else {
if (frame > _startFrame) {
setFrame(frame - 1);
} else {
diff --git a/engines/pink/objects/actors/supporting_actor.cpp b/engines/pink/objects/actors/supporting_actor.cpp
index 426b358628..7bd7e3afbb 100644
--- a/engines/pink/objects/actors/supporting_actor.cpp
+++ b/engines/pink/objects/actors/supporting_actor.cpp
@@ -60,8 +60,7 @@ void SupportingActor::onMouseOver(Common::Point point, CursorMgr *mgr) {
mgr->setCursor(_cursor, point);
else
mgr->setCursor(kClickableFirstFrameCursor, point, Common::String());
- }
- else
+ } else
Actor::onMouseOver(point, mgr);
}