- Changed P_SpawnPlayerMissile() to use the same height calculation as

P_(Aim)LineAttack().
- Added an AttackZOffset to PlayerPawn. This is the offset from the
  center of the player at which their attacks are fired and scales
  according to their crouched height.
- Changed the version of P_SpawnPlayerMissile() that takes coordinates
  to use that location as an offset from the standard attack location
  rather than as an explicit attack location.


SVN r498 (trunk)
This commit is contained in:
Randy Heit 2007-03-07 17:31:40 +00:00
commit 72643bece6
12 changed files with 81 additions and 26 deletions

View file

@ -1043,7 +1043,7 @@ void A_FireCustomMissile (AActor * self)
if (AimAtAngle) shootangle+=Angle;
AActor * misl=P_SpawnPlayerMissile (self, self->x+x, self->y+y, self->z+z, ti, shootangle);
AActor * misl=P_SpawnPlayerMissile (self, x, y, z, ti, shootangle);
// automatic handling of seeker missiles
if (misl)
{