fix my typo in a4f4c51dca,
could not detect it earlier Сloses #1029 --HG-- branch : trunk
This commit is contained in:
1 parent
2cc15aee31
commit
3847e3be42
1 file changed
+2
-2
+2
-2
@@ -321,14 +321,14 @@ void Unit::SendMonsterStop(bool on_death)
|
||||
|
||||
if (on_death == true)
|
||||
{
|
||||
data << uint8(1);
|
||||
data << uint8(0);
|
||||
data << uint32((GetUnitMovementFlags() & MOVEMENTFLAG_LEVITATING) ? MOVEFLAG_FLY : MOVEFLAG_WALK);
|
||||
data << uint32(0); // Time in between points
|
||||
data << uint32(1); // 1 single waypoint
|
||||
data << GetPositionX() << GetPositionY() << GetPositionZ();
|
||||
}
|
||||
else
|
||||
data << uint8(0);
|
||||
data << uint8(1);
|
||||
|
||||
SendMessageToSet(&data, true);
|
||||
|
||||
|
||||
Reference in new issue
Block a user