summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/strife/p_enemy.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/strife/p_enemy.c b/src/strife/p_enemy.c
index e3757ac7..6e128679 100644
--- a/src/strife/p_enemy.c
+++ b/src/strife/p_enemy.c
@@ -3163,6 +3163,10 @@ void A_TeleportBeacon(mobj_t* actor)
mobj = P_SpawnMobj(actor->x, actor->y, ONFLOORZ, MT_REBEL1);
+ // haleyjd 20141024: missing code from disassembly; transfer allegiance
+ // originally from master player to the rebel.
+ mobj->miscdata = actor->miscdata;
+
if(!P_TryMove(mobj, mobj->x, mobj->y))
{
// Rebel is probably stuck in something.. too bad