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:
Kelsi 2026-03-10 11:34:56 -07:00
parent ca141bb131
commit b3441ee9ce

View file

@ -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: