mirror of
https://github.com/Kelsidavis/WoWee.git
synced 2026-03-23 07:40:14 +00:00
net: ack SMSG_MOVE_LAND_WALK and SMSG_MOVE_NORMAL_FALL
These are the removal counterparts to SMSG_MOVE_WATER_WALK and SMSG_MOVE_FEATHER_FALL. The server expects the matching ack with the flag cleared; previously these packets were consumed silently which could leave the server's state machine waiting for an acknowledgement.
This commit is contained in:
parent
ca141bb131
commit
b3441ee9ce
1 changed files with 4 additions and 0 deletions
|
|
@ -5536,7 +5536,11 @@ void GameHandler::handlePacket(network::Packet& packet) {
|
|||
case Opcode::SMSG_MOVE_GRAVITY_DISABLE:
|
||||
case Opcode::SMSG_MOVE_GRAVITY_ENABLE:
|
||||
case Opcode::SMSG_MOVE_LAND_WALK:
|
||||
handleForceMoveFlagChange(packet, "LAND_WALK", Opcode::CMSG_MOVE_WATER_WALK_ACK, 0, false);
|
||||
break;
|
||||
case Opcode::SMSG_MOVE_NORMAL_FALL:
|
||||
handleForceMoveFlagChange(packet, "NORMAL_FALL", Opcode::CMSG_MOVE_FEATHER_FALL_ACK, 0, false);
|
||||
break;
|
||||
case Opcode::SMSG_MOVE_SET_CAN_TRANSITION_BETWEEN_SWIM_AND_FLY:
|
||||
case Opcode::SMSG_MOVE_UNSET_CAN_TRANSITION_BETWEEN_SWIM_AND_FLY:
|
||||
case Opcode::SMSG_MOVE_SET_COLLISION_HGT:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue