fixed msvc6 warning

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1894 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
Lance 2006-01-27 08:06:15 +00:00
parent 88dfd74e81
commit 80d7e00dbb
1 changed files with 4 additions and 0 deletions

View File

@ -620,6 +620,10 @@ void SWR_MarkLeaves (void)
r_visframecount++;
r_oldviewleaf = r_viewleaf;
//if they're in different files it's probably just the compiler not knowing the return type when it reaches that line so it guesses int
//timeserv thinks we need a prototype (whatever that is) ~ Moodles
#pragma warning(disable:4047)
vis = SWMod_LeafPVS (cl.worldmodel, r_viewleaf, NULL);
for (i=0 ; i<cl.worldmodel->numleafs ; i++)