Core/Packets: Port packet handling rework from 335 branch
This commit is contained in:
1 parent
5501502a03
commit
dfbf50234d
21 files changed
+1867
-1497
No files matched your search
@@ -13647,10 +13647,10 @@ void Unit::WriteMovementInfo(WorldPacket& data, Movement::ExtraMovementStatusEle
|
||||
bool hasFallData = hasFallDirection || m_movementInfo.jump.fallTime != 0;
|
||||
bool hasSplineElevation = HasUnitMovementFlag(MOVEMENTFLAG_SPLINE_ELEVATION);
|
||||
|
||||
MovementStatusElements const* sequence = GetMovementStatusElementsSequence(data.GetOpcode());
|
||||
MovementStatusElements const* sequence = GetMovementStatusElementsSequence(static_cast<OpcodeClient>(data.GetOpcode()));
|
||||
if (!sequence)
|
||||
{
|
||||
TC_LOG_ERROR("network", "Unit::WriteMovementInfo: No movement sequence found for opcode %s", GetOpcodeNameForLogging(data.GetOpcode()).c_str());
|
||||
TC_LOG_ERROR("network", "Unit::WriteMovementInfo: No movement sequence found for opcode %s", GetOpcodeNameForLogging(static_cast<OpcodeClient>(data.GetOpcode())).c_str());
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user