mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2025-02-17 01:11:45 +00:00
Initialize d_lightstylevalue.
"Let there be light!", but chaos still reigns (broken lightmap updates).
This commit is contained in:
parent
1229d24ef6
commit
f658e6c32e
1 changed files with 5 additions and 0 deletions
|
@ -212,6 +212,11 @@ R_Init (void)
|
|||
VISIBLE void
|
||||
R_NewMap (model_t *worldmodel, struct model_s **models, int num_models)
|
||||
{
|
||||
int i;
|
||||
|
||||
for (i = 0; i < 256; i++)
|
||||
d_lightstylevalue[i] = 264; // normal light value
|
||||
|
||||
memset (&r_worldentity, 0, sizeof (r_worldentity));
|
||||
r_worldentity.model = worldmodel;
|
||||
|
||||
|
|
Loading…
Reference in a new issue