mirror of
https://github.com/ZDoom/qzdoom-gpl.git
synced 2024-11-16 01:02:03 +00:00
- Fixed: Lore Shot didn't take DONTTHRUST into account.
This commit is contained in:
parent
2b12db153b
commit
f374cf514d
1 changed files with 1 additions and 1 deletions
|
@ -23,7 +23,7 @@ int ALoreShot::DoSpecialDamage (AActor *target, int damage, FName damagetype)
|
|||
{
|
||||
FVector3 thrust;
|
||||
|
||||
if (this->target != NULL)
|
||||
if (this->target != NULL && !(this->target->flags7 & MF7_DONTTHRUST))
|
||||
{
|
||||
thrust.X = float(this->target->x - target->x);
|
||||
thrust.Y = float(this->target->y - target->y);
|
||||
|
|
Loading…
Reference in a new issue