mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2024-11-11 07:12:16 +00:00
- Fixed the morphed player actor friendliness.
It wasn't inherited from the original player actor object.
This commit is contained in:
parent
a30eb4d709
commit
8dee0be9ab
1 changed files with 2 additions and 0 deletions
|
@ -91,6 +91,8 @@ bool P_MorphPlayer (player_t *activator, player_t *p, PClassPlayerPawn *spawntyp
|
||||||
morphed->Angles.Yaw = actor->Angles.Yaw;
|
morphed->Angles.Yaw = actor->Angles.Yaw;
|
||||||
morphed->target = actor->target;
|
morphed->target = actor->target;
|
||||||
morphed->tracer = actor;
|
morphed->tracer = actor;
|
||||||
|
morphed->FriendPlayer = actor->FriendPlayer;
|
||||||
|
morphed->DesignatedTeam = actor->DesignatedTeam;
|
||||||
morphed->Score = actor->Score;
|
morphed->Score = actor->Score;
|
||||||
p->PremorphWeapon = p->ReadyWeapon;
|
p->PremorphWeapon = p->ReadyWeapon;
|
||||||
morphed->special2 = actor->flags & ~MF_JUSTHIT;
|
morphed->special2 = actor->flags & ~MF_JUSTHIT;
|
||||||
|
|
Loading…
Reference in a new issue