mirror of
https://github.com/ZDoom/gzdoom.git
synced 2025-02-22 20:11:14 +00:00
fix mbf21 A_SeekTracer not working (arg type shenanigans)
This commit is contained in:
parent
a4b124bff8
commit
40a5c4c1c5
1 changed files with 2 additions and 2 deletions
|
@ -503,9 +503,9 @@ extend class Weapon
|
||||||
|
|
||||||
// needed to call A_SeekerMissile with proper defaults.
|
// needed to call A_SeekerMissile with proper defaults.
|
||||||
deprecated("2.3", "for Dehacked use only")
|
deprecated("2.3", "for Dehacked use only")
|
||||||
void MBF21_SeekTracer(int threshold, int turnmax)
|
void MBF21_SeekTracer(double threshold, double turnmax)
|
||||||
{
|
{
|
||||||
A_SeekerMissile(threshold, turnmax);
|
A_SeekerMissile(threshold, turnmax); // args get truncated to ints here, but it's close enough
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
Loading…
Reference in a new issue