Skip to content
Snippets Groups Projects

Actual blockmap fix

+ 69
50
Compare changes
  • Side-by-side
  • Inline

Files

+ 3
0
@@ -38,6 +38,9 @@
@@ -38,6 +38,9 @@
#define MAPBMASK (MAPBLOCKSIZE-1)
#define MAPBMASK (MAPBLOCKSIZE-1)
#define MAPBTOFRAC (MAPBLOCKSHIFT-FRACBITS)
#define MAPBTOFRAC (MAPBLOCKSHIFT-FRACBITS)
 
// Convenience macro to fix issue with collision along bottom/left edges of blockmap -Red
 
#define BMBOUNDFIX(xl, xh, yl, yh) {if (xl > xh) xl = 0; if (yl > yh) yl = 0;}
 
// player radius used only in am_map.c
// player radius used only in am_map.c
#define PLAYERRADIUS (16*FRACUNIT)
#define PLAYERRADIUS (16*FRACUNIT)
Loading