in -profilegameonly
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@7913
d7cf8633-e32d-0410-b094-
e92efae38249
void r_shadow_newmap(void)
{
+ if (r_refdef.worldmodel && strncmp(r_refdef.worldmodel->name, r_shadow_mapname, sizeof(r_shadow_mapname)))
+ R_Shadow_EditLights_Reload_f();
}
void R_Shadow_Help_f(void)
size_t lightindex;
dlight_t *light;
- if (r_refdef.worldmodel && strncmp(r_refdef.worldmodel->name, r_shadow_mapname, sizeof(r_shadow_mapname)))
- R_Shadow_EditLights_Reload_f();
-
if (r_editlights.integer)
R_Shadow_DrawLightSprites();