- Fixed: The pickup message for Hexen's fighter's axe was assigned to the

AxePuff, not the weapon itself.
- Fixed: P_RunEffects used the consoleplayer's camera without checking its
  validity.
- Fixed: CopyFriendliness needs to copy target to LastHeard as well in order
  to make newly spawned monsters chase their spawner's target.


SVN r278 (trunk)
This commit is contained in:
Christoph Oelckers 2006-08-01 22:11:49 +00:00
commit effa46975e
4 changed files with 15 additions and 3 deletions

View file

@ -862,7 +862,8 @@ void AActor::CopyFriendliness (const AActor *other, bool changeTarget)
FriendPlayer = other->FriendPlayer;
if (changeTarget)
{
target = other->target;
// LastHeard must be set as well so that A_Look can react to the new target if called
LastHeard = target = other->target;
}
level.total_monsters += CountsAsKill();
}