- fixed: Since the FastProjectile does not perform a velocity underflow check it must use an approximate comparison when deciding whether to call the Effect method.

This commit is contained in:
Christoph Oelckers 2017-02-07 00:39:46 +01:00
parent f9712460f3
commit dae6230f76

View file

@ -156,7 +156,7 @@ class FastProjectile : Actor
ExplodeMissile (NULL, NULL);
return;
}
if (frac != (0, 0, 0) && ripcount <= 0)
if (!(frac.xy ~== (0, 0)) && ripcount <= 0)
{
ripcount = count >> 3;