- 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:
parent
08a1ffce23
commit
638526946b
7 changed files with 213 additions and 54 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue