diff options
| author | megamage <none@none> | 2009-02-04 10:33:18 -0600 |
|---|---|---|
| committer | megamage <none@none> | 2009-02-04 10:33:18 -0600 |
| commit | 4d008f2043084b72fb9d4a9929ff2793c7bbd8ee (patch) | |
| tree | 13e4adc5b3dae7f3c1805c95e940d785535375af /src/game/PointMovementGenerator.cpp | |
| parent | edbfb386ce87f918da8e11e843d7b5a227e5328d (diff) | |
Replace tabs with spaces, and fix crlf issues
--HG--
branch : trunk
Diffstat (limited to 'src/game/PointMovementGenerator.cpp')
| -rw-r--r-- | src/game/PointMovementGenerator.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game/PointMovementGenerator.cpp b/src/game/PointMovementGenerator.cpp index bb37d7b9479..a4795974e96 100644 --- a/src/game/PointMovementGenerator.cpp +++ b/src/game/PointMovementGenerator.cpp @@ -32,7 +32,7 @@ void PointMovementGenerator<T>::Initialize(T &unit) unit.StopMoving(); Traveller<T> traveller(unit); i_destinationHolder.SetDestination(traveller,i_x,i_y,i_z); - + if (unit.GetTypeId() == TYPEID_UNIT && ((Creature*)&unit)->canFly()) unit.AddUnitMovementFlag(MOVEMENTFLAG_FLYING2); } |
