mirror of
https://github.com/DrBeef/ioq3quest.git
synced 2024-11-27 06:13:01 +00:00
Add assignment below declarations otherwise compiling fails with msvc
Signed-off-by: Zack Middleton <zturtleman@gmail.com>
This commit is contained in:
parent
43ea1aebb3
commit
db85b61e94
1 changed files with 2 additions and 2 deletions
|
@ -3356,12 +3356,12 @@ void RE_LoadWorldMap( const char *name ) {
|
||||||
if (0)
|
if (0)
|
||||||
{
|
{
|
||||||
world_t *w;
|
world_t *w;
|
||||||
|
|
||||||
w = &s_worldData;
|
|
||||||
uint8_t *primaryLightGrid, *data;
|
uint8_t *primaryLightGrid, *data;
|
||||||
int lightGridSize;
|
int lightGridSize;
|
||||||
int i;
|
int i;
|
||||||
|
|
||||||
|
w = &s_worldData;
|
||||||
|
|
||||||
lightGridSize = w->lightGridBounds[0] * w->lightGridBounds[1] * w->lightGridBounds[2];
|
lightGridSize = w->lightGridBounds[0] * w->lightGridBounds[1] * w->lightGridBounds[2];
|
||||||
primaryLightGrid = ri.Malloc(lightGridSize * sizeof(*primaryLightGrid));
|
primaryLightGrid = ri.Malloc(lightGridSize * sizeof(*primaryLightGrid));
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue