- [FIX] Ja no pot caminar en diagonal

- Treballant en l'eixida del piso (encara peta)
This commit is contained in:
2024-06-16 22:06:27 +02:00
parent d587b5a0a4
commit 219bdd96b3
6 changed files with 83 additions and 6 deletions

View File

@@ -61,7 +61,7 @@ namespace room
tmin = {3-inner_w,3-inner_h,0};
tmax = {4+inner_w,4+inner_h,3};
min = {tmin.x*8,tmin.y*8,0};
max = {(tmax.x+1)*8,(tmax.y+1)*8,24};
max = {(tmax.x+1)*8,(tmax.y+1)*8,32};
doors = (door_height[XP]>=0?DOOR_XP:0) | (door_height[XN]>=0?DOOR_XN:0) | (door_height[YP]>=0?DOOR_YP:0) | (door_height[YN]>=0?DOOR_YN:0);
//door_height[0] = inner_xp; //XP
//door_height[1] = inner_xn; //XN