mark checkcoord as const
This commit is contained in:
1 parent
54088933ce
commit
03b0ae341b
2 files changed
+2
-2
No files matched your search
+1
-1
@@ -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},
|
||||
|
||||
+1
-1
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user