From 906a423fa7767c5100a1269cc90231840eb5e728 Mon Sep 17 00:00:00 2001 From: Sven Hesse Date: Sun, 4 Nov 2007 13:01:41 +0000 Subject: Some code formating fixes svn-id: r29409 --- engines/cruise/actor.cpp | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) (limited to 'engines/cruise/actor.cpp') diff --git a/engines/cruise/actor.cpp b/engines/cruise/actor.cpp index 777b09d214..2164d1c7e2 100644 --- a/engines/cruise/actor.cpp +++ b/engines/cruise/actor.cpp @@ -33,10 +33,8 @@ int16 mainProc13(int overlayIdx, int param1, actorStruct *pStartEntry, int param while (pCurrentEntry) { if ((pCurrentEntry->overlayNumber == overlayIdx || overlayIdx == -1) && (pCurrentEntry->idx == param1 || param1 == -1) && - (pCurrentEntry->type == param2 || param2 == -1)) - { - if(pCurrentEntry->pathId != -2) - { + (pCurrentEntry->type == param2 || param2 == -1)) { + if (pCurrentEntry->pathId != -2) { return 0; } } @@ -769,8 +767,7 @@ void processAnimation(void) { while (currentActor) { nextActor = currentActor->next; - if (!currentActor->freeze && ((currentActor->type == 0) || (currentActor->type == 1))) - { + if (!currentActor->freeze && ((currentActor->type == 0) || (currentActor->type == 1))) { getMultipleObjectParam(currentActor->overlayNumber, currentActor->idx, ¶ms); if (((animationStart && !currentActor->flag) || (!animationStart && currentActor->x_dest != -1 && currentActor->y_dest != -1)) && (currentActor->type == 0)) { @@ -859,8 +856,7 @@ void processAnimation(void) { if ((currentActor->counter >= 0) && ((currentActor->phase == ANIM_PHASE_STATIC_END) - || (currentActor->phase == ANIM_PHASE_STATIC))) - { + || (currentActor->phase == ANIM_PHASE_STATIC))) { int newA; int inc = 1; int t_inc = currentActor->startDirection - 1; -- cgit v1.2.3