- Fixed: Don't color the teleporter beacon's rebels in single player.

SVN r2104 (trunk)
This commit is contained in:
Randy Heit 2010-01-08 02:15:42 +00:00
parent 1e5b84ea14
commit 2228c37985

View file

@ -95,8 +95,11 @@ DEFINE_ACTION_FUNCTION(AActor, A_Beacon)
}
if (owner != NULL)
{
// Rebels are the same color as their owner
rebel->Translation = owner->Translation;
// Rebels are the same color as their owner (but only in nomultiplayer)
if (multiplayer)
{
rebel->Translation = owner->Translation;
}
rebel->FriendPlayer = owner->player != NULL ? BYTE(owner->player - players + 1) : 0;
// Set the rebel's target to whatever last hurt the player, so long as it's not
// one of the player's other rebels.