aboutsummaryrefslogtreecommitdiff
path: root/src/game/PointMovementGenerator.cpp
diff options
context:
space:
mode:
authormegamage <none@none>2009-08-26 13:39:11 -0500
committermegamage <none@none>2009-08-26 13:39:11 -0500
commit227471fe18b850c46f52a96f4334ef1951d2b582 (patch)
treef8391ea37a1ed99bfe79f4722c10532f5e2e9725 /src/game/PointMovementGenerator.cpp
parentf13b3f4e58ec84e13da280b5297a5ae789cc834a (diff)
*Remove some unused code in movement generator.
--HG-- branch : trunk
Diffstat (limited to 'src/game/PointMovementGenerator.cpp')
-rw-r--r--src/game/PointMovementGenerator.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/game/PointMovementGenerator.cpp b/src/game/PointMovementGenerator.cpp
index ffd036e9c21..3452c0a3b4d 100644
--- a/src/game/PointMovementGenerator.cpp
+++ b/src/game/PointMovementGenerator.cpp
@@ -33,9 +33,6 @@ void PointMovementGenerator<T>::Initialize(T &unit)
Traveller<T> traveller(unit);
// knockback effect has UNIT_STAT_JUMPING set,so if here we disable sentmonstermove there will be creature position sync problem between client and server
i_destinationHolder.SetDestination(traveller,i_x,i_y,i_z, true /* !unit.hasUnitState(UNIT_STAT_JUMPING)*/);
-
- if (unit.GetTypeId() == TYPEID_UNIT && ((Creature*)&unit)->canFly())
- unit.AddUnitMovementFlag(MOVEMENTFLAG_FLYING);
}
template<class T>