fix zipping bug

This commit is contained in:
Ben Russell (300178622) 2015-03-09 10:39:23 +13:00
parent 64d7271187
commit 729536b136

View File

@ -990,7 +990,7 @@ function new_player(settings)
-- fix sinking when no autoclimb -- fix sinking when no autoclimb
if this.alive then if this.alive then
local _,h2 = trace_gap(tx1,ty1,tz1) local _,h2 = trace_gap(tx1,ty1,tz1)
if ty1+by2+0.05 > h2 then if ty1+by2+0.05 > h2 and ty1+by2+0.05 < h2+0.8 then
ty1 = h2-by2-0.05 ty1 = h2-by2-0.05
end end
end end