1
0
mirror of https://github.com/luanti-org/luanti.git synced 2025-10-13 00:25:19 +02:00

Fix wireshark packet dissector wrong coordinates (#11826)

This commit is contained in:
Richard Liu
2021-12-05 07:34:40 -06:00
committed by GitHub
parent 80c3c7e642
commit 7a043b3ebb

View File

@@ -422,8 +422,8 @@ do
t:add(f_pointed_under_y, buffer(13,2)) t:add(f_pointed_under_y, buffer(13,2))
t:add(f_pointed_under_z, buffer(15,2)) t:add(f_pointed_under_z, buffer(15,2))
t:add(f_pointed_above_x, buffer(17,2)) t:add(f_pointed_above_x, buffer(17,2))
t:add(f_pointed_above_x, buffer(19,2)) t:add(f_pointed_above_y, buffer(19,2))
t:add(f_pointed_above_x, buffer(21,2)) t:add(f_pointed_above_z, buffer(21,2))
elseif ptype == 2 then -- Object elseif ptype == 2 then -- Object
t:add(f_pointed_object_id, buffer(11,2)) t:add(f_pointed_object_id, buffer(11,2))
end end