diff options
author | Max Horn | 2007-09-10 13:17:20 +0000 |
---|---|---|
committer | Max Horn | 2007-09-10 13:17:20 +0000 |
commit | 4a302b25adb34e6357506a25cbfba6e182ac9209 (patch) | |
tree | 2d1f5ac4074c70e37c556c263b109d4b659c060e /engines/cruise/actor.cpp | |
parent | 6419311a2e361c5e265ae3796ef425700694801f (diff) | |
download | scummvm-rg350-4a302b25adb34e6357506a25cbfba6e182ac9209.tar.gz scummvm-rg350-4a302b25adb34e6357506a25cbfba6e182ac9209.tar.bz2 scummvm-rg350-4a302b25adb34e6357506a25cbfba6e182ac9209.zip |
Lots of source code formatting corrections
svn-id: r28887
Diffstat (limited to 'engines/cruise/actor.cpp')
-rw-r--r-- | engines/cruise/actor.cpp | 21 |
1 files changed, 6 insertions, 15 deletions
diff --git a/engines/cruise/actor.cpp b/engines/cruise/actor.cpp index 44b0c9c92d..c4af217117 100644 --- a/engines/cruise/actor.cpp +++ b/engines/cruise/actor.cpp @@ -471,8 +471,7 @@ void valide_noeud(int16 table[], int16 p, int *nclick, int16 solution0[20 + 3][2 (*nclick)++; ctpVar19 = ctpVar11; - if (*nclick == 2) // second point - { + if (*nclick == 2) { // second point x1 = table_ptselect[0][0]; y1 = table_ptselect[0][1]; x2 = table_ptselect[1][0]; @@ -858,26 +857,18 @@ void processAnimation(void) { currentActor->phase = ANIM_PHASE_MOVE; } - if ((currentActor->counter >= - 0) - && ((currentActor->phase == - ANIM_PHASE_STATIC_END) - || (currentActor-> - phase == - ANIM_PHASE_STATIC))) + if ((currentActor->counter >= 0) + && ((currentActor->phase == ANIM_PHASE_STATIC_END) + || (currentActor->phase == ANIM_PHASE_STATIC))) { int newA; int inc = 1; - int t_inc = - currentActor-> - startDirection - 1; + int t_inc = currentActor->startDirection - 1; if (t_inc < 0) t_inc = 3; - if (currentActor-> - nextDirection == - t_inc) + if (currentActor->nextDirection == t_inc) inc = -1; if (inc > 0) |