mirror of
https://github.com/ZDoom/raze-gles.git
synced 2025-01-23 23:50:40 +00:00
Silence a MSVC warning
git-svn-id: https://svn.eduke32.com/eduke32@3991 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
parent
43414456a4
commit
1d2a6bc9df
1 changed files with 1 additions and 1 deletions
|
@ -4362,7 +4362,7 @@ void G_DrawRooms(int32_t snum, int32_t smoothratio)
|
||||||
|
|
||||||
{
|
{
|
||||||
int32_t vis = p->visibility;
|
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;
|
CAMERA(sect) = p->cursectnum;
|
||||||
|
|
Loading…
Reference in a new issue