diff options
author | Drahy <none@none> | 2009-02-04 22:08:23 +0100 |
---|---|---|
committer | Drahy <none@none> | 2009-02-04 22:08:23 +0100 |
commit | 674477ddf8678d81d116df88b33160fa6be303cb (patch) | |
tree | 8dd3bac5ab94ee39d7b72588ce8fef231c70ddb0 /src/game/PointMovementGenerator.cpp | |
parent | 5d4d9530556eb66940775f12c3cc5f3c115447ca (diff) | |
parent | c745eba4a1d122b4184b27a982674c86ff193c23 (diff) |
* Huge merge with original branch
--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 ab4cf1ed147..bcc25987e56 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); } |