forked from fte/fteqw
1
0
Fork 0

Fix a warning.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4342 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
Spoike 2013-05-07 19:39:04 +00:00
parent d4f3879a25
commit f293ffa8a5
1 changed files with 5 additions and 8 deletions

View File

@ -406,8 +406,6 @@ void RMod_ClearAll (void)
#ifdef RUNTIMELIGHTING #ifdef RUNTIMELIGHTING
#ifdef MULTITHREAD #ifdef MULTITHREAD
if (relightthread)
{
wantrelight = false; wantrelight = false;
for (i = 0; i < relightthreads; i++) for (i = 0; i < relightthreads; i++)
{ {
@ -415,7 +413,6 @@ void RMod_ClearAll (void)
relightthread[i] = NULL; relightthread[i] = NULL;
} }
relightthreads = 0; relightthreads = 0;
}
#endif #endif
lightmodel = NULL; lightmodel = NULL;
#endif #endif