mirror of
https://github.com/ZDoom/qzdoom.git
synced 2024-11-10 14:51:51 +00:00
- silence some warnings.
This commit is contained in:
parent
c48de5d8d3
commit
e6184ccb96
2 changed files with 2 additions and 2 deletions
|
@ -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)
|
||||
{
|
||||
|
|
|
@ -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
|
||||
}
|
||||
|
||||
}
|
Loading…
Reference in a new issue