diff --git a/tools/quake3/q3map2/light.c b/tools/quake3/q3map2/light.c index 03f17ed2..fa3d4476 100644 --- a/tools/quake3/q3map2/light.c +++ b/tools/quake3/q3map2/light.c @@ -973,6 +973,11 @@ int LightContributionToSample( trace_t *trace ){ /* return to sender */ return 1; + } + + /* unknown light type */ + else { + return -1; } /* ydnar: changed to a variable number */