[l_bsp_{hl,q1}.c] Fix erroneous use of comma operator
This commit is contained in:
parent
39c70072da
commit
13a3b91cc3
|
|
@ -151,7 +151,7 @@ void HL_AllocMaxBSP(void)
|
|||
//edges
|
||||
hl_numedges = 0;
|
||||
hl_dedges = (hl_dedge_t *) GetMemory(HL_MAX_MAP_EDGES * sizeof(hl_dedge_t));
|
||||
hl_allocatedbspmem += HL_MAX_MAP_EDGES, sizeof(hl_dedge_t);
|
||||
hl_allocatedbspmem += HL_MAX_MAP_EDGES * sizeof(hl_dedge_t);
|
||||
//mark surfaces
|
||||
hl_nummarksurfaces = 0;
|
||||
hl_dmarksurfaces = (unsigned short *) GetMemory(HL_MAX_MAP_MARKSURFACES * sizeof(unsigned short));
|
||||
|
|
|
|||
|
|
@ -133,7 +133,7 @@ void Q1_AllocMaxBSP(void)
|
|||
//edges
|
||||
q1_numedges = 0;
|
||||
q1_dedges = (q1_dedge_t *) GetMemory(Q1_MAX_MAP_EDGES * sizeof(q1_dedge_t));
|
||||
q1_allocatedbspmem += Q1_MAX_MAP_EDGES, sizeof(q1_dedge_t);
|
||||
q1_allocatedbspmem += Q1_MAX_MAP_EDGES * sizeof(q1_dedge_t);
|
||||
//mark surfaces
|
||||
q1_nummarksurfaces = 0;
|
||||
q1_dmarksurfaces = (unsigned short *) GetMemory(Q1_MAX_MAP_MARKSURFACES * sizeof(unsigned short));
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user