- fixed: sv_smartaim 3 treated the player like a shootable decoration.

- Added A_CheckIfInTargetLOS
- Removed redundant A_CheckIfTargetInSight.


SVN r1656 (trunk)
This commit is contained in:
Christoph Oelckers 2009-06-08 23:39:08 +00:00
commit a425214432
3 changed files with 58 additions and 21 deletions

View file

@ -2926,7 +2926,7 @@ void aim_t::AimTraverse (fixed_t startx, fixed_t starty, fixed_t endx, fixed_t e
pitch_friend=thingpitch;
}
}
else if (!(th->flags3&MF3_ISMONSTER) )
else if (!(th->flags3&MF3_ISMONSTER) && th->player == NULL)
{
if (sv_smartaim < 3)
{