*Fix a crash. Thanks to Amok
--HG-- branch : trunk
This commit is contained in:
1 parent
76d0498aae
commit
b5778357d9
2 files changed
+3
-2
No files matched your search
@@ -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);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user