Fix bouncing missiles not dealing damage when hitting top/bottom (#1068)

* Fix bouncing missiles not dealing damage when hitting top/bottom
This commit is contained in:
Cacodemon345 2020-04-30 12:55:09 +06:00 committed by GitHub
commit 4b4ff8dd0e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 55 additions and 32 deletions

View file

@ -3976,6 +3976,7 @@ void AActor::Tick ()
// to be in line with the case when an actor's side is hit.
if (!res && (flags & MF_MISSILE))
{
P_DoMissileDamage(this, onmo);
P_ExplodeMissile(this, nullptr, onmo);
}
}