- 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:
parent
5ac0789e6e
commit
effa46975e
4 changed files with 15 additions and 3 deletions
|
|
@ -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();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue