- Merged the fallingdamage setting into one menu item and added Strife damage to it.

- Moved deathmatch options into their own category in the gameplay options menu.
- Added the sv_smartaim code from GZDoom which tries to avoid autoaiming
  at friendlies or shootable decorations if there are monsters that can be shot.
- Added: SetThingSpecial treats a tid of 0 as the activator.


SVN r412 (trunk)
This commit is contained in:
Christoph Oelckers 2006-12-16 11:49:48 +00:00
commit 638526946b
7 changed files with 213 additions and 54 deletions

View file

@ -352,7 +352,7 @@ bool P_HitFriend(AActor * self)
{
angle_t angle = R_PointToAngle2 (self->x, self->y, self->target->x, self->target->y);
fixed_t dist = P_AproxDistance (self->x-self->target->x, self->y-self->target->y);
P_AimLineAttack (self, angle, dist, 0);
P_AimLineAttack (self, angle, dist, 0, true);
if (linetarget != NULL && linetarget != self->target)
{
return self->IsFriend (linetarget);