warning fix²

This commit is contained in:
Ovahlord committed 2021-11-11 17:59:45 +01:00
1 parent c220644db1
commit 2c70d98449
1 file changed
+2
@@ -1145,6 +1145,8 @@ bool Creature::SetCanFly(bool enable, bool packetOnly /*= false*/)
WorldPacket data(enable ? SMSG_SPLINE_MOVE_SET_FLYING : SMSG_SPLINE_MOVE_UNSET_FLYING);
WriteMovementInfo(data);
SendMessageToSet(&data, false);
return true;
}
void Creature::InitializeReactState()