- silence some warnings.

This commit is contained in:
Christoph Oelckers 2022-02-14 20:05:42 +01:00
parent c48de5d8d3
commit e6184ccb96
2 changed files with 2 additions and 2 deletions

View file

@ -1560,7 +1560,7 @@ class GLDefsParser
ExtraUniformCVARData* oldextra = nullptr;
sc.MustGetFloat();
val.Float = oldval.Float = sc.Float;
val.Float = oldval.Float = (float)sc.Float;
if (!cvar)
{

View file

@ -507,7 +507,7 @@ extend class Weapon
deprecated("2.3", "for Dehacked use only")
void MBF21_SeekTracer(double threshold, double turnmax)
{
A_SeekerMissile(threshold, turnmax, flags: SMF_PRECISE); // args get truncated to ints here, but it's close enough
A_SeekerMissile(int(threshold), int(turnmax), flags: SMF_PRECISE); // args get truncated to ints here, but it's close enough
}
}