Implement SMSG_MULTIPLE_PACKETS unpacking and fix unused variable warning

- Parse bundled sub-packets from SMSG_MULTIPLE_PACKETS using the WotLK
  standard wire format (uint16_be size + uint16_le opcode + payload),
  dispatching each through handlePacket() instead of silently discarding.
  Rate-limited warning for malformed sub-packet overruns.
- Remove unused cullRadiusSq variable in TerrainRenderer::renderShadow()
  that produced a -Wunused-variable warning.
This commit is contained in:
Kelsi 2026-03-09 18:52:34 -07:00
parent 18e6c2e767
commit 6cba3f5c95
2 changed files with 33 additions and 3 deletions

View file

@ -969,8 +969,6 @@ void TerrainRenderer::renderShadow(VkCommandBuffer cmd, const glm::mat4& lightSp
vkCmdPushConstants(cmd, shadowPipelineLayout_, VK_SHADER_STAGE_VERTEX_BIT,
0, 128, &push);
const float cullRadiusSq = shadowRadius * shadowRadius;
for (const auto& chunk : chunks) {
if (!chunk.isValid()) continue;