Mute an annoying warning.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@6047 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
Spoike 2021-08-27 04:29:49 +00:00
parent a532819655
commit c73b9774da

View file

@ -3760,7 +3760,10 @@ void Sh_PreGenerateLights(void)
if (!okay && r_shadow_realtime_world.ival && r_shadow_realtime_world_lightmaps.value < 0.5) if (!okay && r_shadow_realtime_world.ival && r_shadow_realtime_world_lightmaps.value < 0.5)
{ {
r_shadow_realtime_world_lightmaps.value = 1; r_shadow_realtime_world_lightmaps.value = 1;
Con_Printf(CON_WARNING "No lights detected in map.\n"); if (!r_shadow_realtime_world_importlightentitiesfrommap.ival)
Con_Printf(CON_WARNING "No lights detected in map.\n");
else
Con_DPrintf("No lights detected in map.\n");
} }
for (i = 0; i < cl.num_statics; i++) for (i = 0; i < cl.num_statics; i++)