mirror of
https://github.com/ZDoom/qzdoom.git
synced 2024-11-24 21:11:39 +00:00
- Fixed: Don't color the teleporter beacon's rebels in single player.
SVN r2104 (trunk)
This commit is contained in:
parent
1e5b84ea14
commit
2228c37985
1 changed files with 5 additions and 2 deletions
|
@ -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.
|
||||
|
|
Loading…
Reference in a new issue