*Fix a crash. Thanks to Amok

--HG--
branch : trunk
This commit is contained in:
megamage committed 2009-05-30 17:17:05 -05:00
1 parent 76d0498aae
commit b5778357d9
2 files changed
+3 -2

No files matched your search

+2
View File
@@ -28,6 +28,8 @@
void
HomeMovementGenerator<Creature>::Initialize(Creature & owner)
{
float x, y, z;
owner.GetHomePosition(x, y, z, ori);
owner.RemoveUnitMovementFlag(MOVEMENTFLAG_WALK_MODE);
_setTargetLocation(owner);
}