mirror of
https://github.com/liyunfan1223/azerothcore-wotlk.git
synced 2026-08-07 07:17:57 +00:00
fix(Core/Movement): Removed some leftover after c8f43d8584. (#13524)
Closes #2623
This commit is contained in:
@@ -135,11 +135,6 @@ namespace Movement
|
||||
data << int8(unit->GetTransSeat());
|
||||
}
|
||||
|
||||
Movement::SplineBase::ControlArray* visualPoints = const_cast<Movement::SplineBase::ControlArray*>(move_spline._Spline().allocateVisualPoints());
|
||||
visualPoints->resize(move_spline._Spline().getPointCount());
|
||||
// Xinef: Apply hover in creature movement packet
|
||||
std::copy(move_spline._Spline().getPoints(false).begin(), move_spline._Spline().getPoints(false).end(), visualPoints->begin());
|
||||
|
||||
PacketBuilder::WriteMonsterMove(move_spline, data);
|
||||
unit->SendMessageToSet(&data, true);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user