warning fix²

This commit is contained in:
Ovahlord
2021-11-11 17:59:45 +01:00
parent c220644db1
commit 2c70d98449

View File

@@ -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()