From 8dee0be9ab1989332ea01ffb3ffd960b55c765e6 Mon Sep 17 00:00:00 2001 From: Edoardo Prezioso Date: Mon, 18 Apr 2016 15:28:45 +0200 Subject: [PATCH] - Fixed the morphed player actor friendliness. It wasn't inherited from the original player actor object. --- src/g_shared/a_morph.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/g_shared/a_morph.cpp b/src/g_shared/a_morph.cpp index 174bfd4a2..3b3741a43 100644 --- a/src/g_shared/a_morph.cpp +++ b/src/g_shared/a_morph.cpp @@ -91,6 +91,8 @@ bool P_MorphPlayer (player_t *activator, player_t *p, PClassPlayerPawn *spawntyp morphed->Angles.Yaw = actor->Angles.Yaw; morphed->target = actor->target; morphed->tracer = actor; + morphed->FriendPlayer = actor->FriendPlayer; + morphed->DesignatedTeam = actor->DesignatedTeam; morphed->Score = actor->Score; p->PremorphWeapon = p->ReadyWeapon; morphed->special2 = actor->flags & ~MF_JUSTHIT;