Use gsv in level build

This commit is contained in:
Pyrex 2023-01-02 20:57:00 -08:00
parent 20a1feb2bb
commit 2c29327db2

View File

@ -425,7 +425,10 @@ function level:recollide_reanchor()
end
local anch_new={}
for dxy in all{{-1,-1},{1,-1},{-1,1},{1,1}} do
for dxy in all(gsv[[-1`-1
1`-1
-1`1
1`1]]) do
local dx,dy=unpack(dxy)
assert(dx!=0 and dy!=0)
for mx0=0,15 do