aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEugene Sandulenko2018-06-20 14:52:42 +0200
committerEugene Sandulenko2018-06-28 23:51:32 +0200
commitbb8a64d22dd8b00fbf028bba6e0258cb7af8dd95 (patch)
treead40cd7ff274031456ce8f9a08d356fa1f4e8d86
parent85e0c7ccd330b8e59faa7d63a439ddd21c598d6f (diff)
downloadscummvm-rg350-bb8a64d22dd8b00fbf028bba6e0258cb7af8dd95.tar.gz
scummvm-rg350-bb8a64d22dd8b00fbf028bba6e0258cb7af8dd95.tar.bz2
scummvm-rg350-bb8a64d22dd8b00fbf028bba6e0258cb7af8dd95.zip
PINK: JANITORIAL: Fix code formatting
-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);
}