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

View file

@ -406,16 +406,13 @@ void RMod_ClearAll (void)
#ifdef RUNTIMELIGHTING #ifdef RUNTIMELIGHTING
#ifdef MULTITHREAD #ifdef MULTITHREAD
if (relightthread) wantrelight = false;
for (i = 0; i < relightthreads; i++)
{ {
wantrelight = false; Sys_WaitOnThread(relightthread[i]);
for (i = 0; i < relightthreads; i++) relightthread[i] = NULL;
{
Sys_WaitOnThread(relightthread[i]);
relightthread[i] = NULL;
}
relightthreads = 0;
} }
relightthreads = 0;
#endif #endif
lightmodel = NULL; lightmodel = NULL;
#endif #endif