mirror of
https://github.com/ZDoom/qzdoom.git
synced 2025-02-28 23:01:44 +00:00
- 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:
parent
f9712460f3
commit
dae6230f76
1 changed files with 1 additions and 1 deletions
|
@ -156,7 +156,7 @@ class FastProjectile : Actor
|
||||||
ExplodeMissile (NULL, NULL);
|
ExplodeMissile (NULL, NULL);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
if (frac != (0, 0, 0) && ripcount <= 0)
|
if (!(frac.xy ~== (0, 0)) && ripcount <= 0)
|
||||||
{
|
{
|
||||||
ripcount = count >> 3;
|
ripcount = count >> 3;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue