- Fixed: When the DONTMOVE flag for A_Chase was used, movecount was not decreased

resulting in missile attacks not working.
- Fixed: Hitscan attacks used the puff's position to calculate the trajectory for
  weapon kickback.


SVN r568 (trunk)
This commit is contained in:
Christoph Oelckers 2007-11-19 08:13:23 +00:00
commit ba61c60d52
6 changed files with 26 additions and 11 deletions

View file

@ -2922,7 +2922,7 @@ void P_LineAttack (AActor *t1, angle_t angle, fixed_t distance,
}
if (damage)
{
int flags = 0;
int flags = DMG_INFLICTOR_IS_PUFF;
// Allow MF5_PIERCEARMOR on a weapon as well.
if (t1->player != NULL && t1->player->ReadyWeapon != NULL &&
t1->player->ReadyWeapon->flags5 & MF5_PIERCEARMOR)