diff --git a/src/r_bsp.cpp b/src/r_bsp.cpp index 5a0a21d76..e680783dd 100644 --- a/src/r_bsp.cpp +++ b/src/r_bsp.cpp @@ -500,7 +500,7 @@ clipsolid: // 0 | 0 | 1 | 2 // 1 | 4 | 5 | 6 // 2 | 8 | 9 | A -INT32 checkcoord[12][4] = +const INT32 checkcoord[12][4] = { {3, 0, 2, 1}, {3, 0, 2, 0}, diff --git a/src/r_bsp.h b/src/r_bsp.h index b9e4e291d..1d00704f7 100644 --- a/src/r_bsp.h +++ b/src/r_bsp.h @@ -34,7 +34,7 @@ extern portal_t *g_portal; // is curline a portal seg? // drawsegs are allocated on the fly... see r_segs.c -extern INT32 checkcoord[12][4]; +extern const INT32 checkcoord[12][4]; extern drawseg_t *curdrawsegs; extern drawseg_t *drawsegs;