Skip to content

Commit ec8786e

Browse files
committed
Fix crash when flooding TESC
1 parent 1c4b4c7 commit ec8786e

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

tptmp/client/util.lua

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -425,7 +425,8 @@ local function flood_any(xidr, x, y, xtype, part_flood_hint, wall_flood_hint, me
425425
else
426426
local ov = xidr.create_override[xtype]
427427
if ov then
428-
rx, ry, xtype = ov(rx, ry, xtype)
428+
local _
429+
_, _, xtype = ov(member.size_x, member.size_y, xtype)
429430
old_create = true
430431
end
431432
end

tptmp/common/config.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ return {
66
-- ***********************************************************************
77

88
-- * Protocol version, between 0 and 254. 255 is reserved for future use.
9-
version = 35,
9+
version = 36,
1010

1111
-- * Client-to-server message size limit, between 0 and 255, the latter
1212
-- limit being imposted by the protocol.

0 commit comments

Comments
 (0)