Silence a MSVC warning

git-svn-id: https://svn.eduke32.com/eduke32@3991 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
terminx 2013-08-06 23:53:21 +00:00
parent 43414456a4
commit 1d2a6bc9df

View file

@ -4362,7 +4362,7 @@ void G_DrawRooms(int32_t snum, int32_t smoothratio)
{
int32_t vis = p->visibility;
g_visibility = (vis <= 0) ? 0 : vis * (numplayers > 1 ? 1.f : r_ambientlightrecip);
g_visibility = (vis <= 0) ? 0 : (int32_t)(vis * (numplayers > 1 ? 1.f : r_ambientlightrecip));
}
CAMERA(sect) = p->cursectnum;