--HG--
branch : trunk
This commit is contained in:
megamage committed 2009-02-12 17:09:15 -06:00
commit 6aee5fcbe7
603 files changed
+40989 -40987

No files matched your search

+2 -2
View File
@@ -123,9 +123,9 @@ RandomMovementGenerator<Creature>::Initialize(Creature &creature)
if(!creature.isAlive())
return;
wander_distance = creature.GetRespawnRadius();
wander_distance = creature.GetRespawnRadius();
if (creature.canFly())
if (creature.canFly())
creature.AddUnitMovementFlag(MOVEMENTFLAG_FLYING2);
else
creature.SetUnitMovementFlags(irand(0,RUNNING_CHANCE_RANDOMMV) > 0 ? MOVEMENTFLAG_WALK_MODE : MOVEMENTFLAG_NONE );