Quiet some narrowing conversion warnings from VS2015

This commit is contained in:
Randy Heit 2016-02-05 21:43:35 -06:00
commit 09a17c2198
9 changed files with 18 additions and 18 deletions

View file

@ -2305,7 +2305,7 @@ void P_PlayerThink (player_t *player)
{
// A negative scale is used to prevent G_AddViewAngle/G_AddViewPitch
// from scaling with the FOV scale.
desired *= fabs(player->ReadyWeapon->FOVScale);
desired *= fabsf(player->ReadyWeapon->FOVScale);
}
if (player->FOV != desired)
{