aboutsummaryrefslogtreecommitdiff
path: root/src/game/PointMovementGenerator.cpp
diff options
context:
space:
mode:
authormegamage <none@none>2009-02-04 10:53:58 -0600
committermegamage <none@none>2009-02-04 10:53:58 -0600
commitdf7499e0565116c356308839079c36943ba7949c (patch)
tree5c7b362962dc49e95601eea5ccfe5102b370639d /src/game/PointMovementGenerator.cpp
parent50c82c666093b5dac3cd60cddf9f46223a48d8d9 (diff)
parent6b19b789ca1757b99a5eaf37fba7c3f555347ab1 (diff)
*Merge.
--HG-- branch : trunk
Diffstat (limited to 'src/game/PointMovementGenerator.cpp')
-rw-r--r--src/game/PointMovementGenerator.cpp2
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);
}