diff options
Diffstat (limited to 'engines/tinsel/move.cpp')
-rw-r--r-- | engines/tinsel/move.cpp | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/engines/tinsel/move.cpp b/engines/tinsel/move.cpp index 03b0b85cf0..62d0cd9c60 100644 --- a/engines/tinsel/move.cpp +++ b/engines/tinsel/move.cpp @@ -230,6 +230,9 @@ static int ClickedOnRefer(HPOLYGON hRefpoly, int clickX, int clickY, int *ptgtX, break; } break; + + default: + break; } if (*ptgtX != -1 && *ptgtY != -1) { return NOT_SORTED; @@ -303,6 +306,9 @@ static int ClickedOnNothing(int clickX, int clickY, int *ptgtX, int *ptgtY) { return ClickedOnPath(i, clickY, ptgtX, ptgtY); } break; + + default: + break; } // Going nowhere! @@ -394,6 +400,9 @@ DIRECTION GetDirection(int fromx, int fromy, int tox, int toy, DIRECTION lastree case YB_X1_5: ychange += ychange / 2; // Double y distance to cover break; + + default: + break; } /* @@ -453,6 +462,8 @@ DIRECTION GetDirection(int fromx, int fromy, int tox, int toy, DIRECTION lastree if (ydir == Y_UP) DontBother = true; break; + default: + break; } } if (!DontBother) { @@ -744,6 +755,7 @@ static void SetNextDest(PMOVER pMover) { hNpoly = pMover->hFnpath; // The node path we're in (if any) switch (pMover->npstatus) { case NOT_IN: + default: break; case ENTERING: |