Skip to content

Commit

Permalink
fix mbf21 A_SeekTracer not working (arg type shenanigans)
Browse files Browse the repository at this point in the history
  • Loading branch information
XaserAcheron authored and coelckers committed Jan 18, 2022
1 parent a4b124b commit 40a5c4c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions wadsrc/static/zscript/actors/mbf21.zs
Expand Up @@ -503,9 +503,9 @@ extend class Weapon

// needed to call A_SeekerMissile with proper defaults.
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
}

}

0 comments on commit 40a5c4c

Please sign in to comment.