Merge pull request #147 from SushiTee/DDRace

fixed showing player spawn effect only to players who should see
This commit is contained in:
Shereef Marzouk 2012-02-05 14:08:26 -08:00
commit 7bd9a687c4

View file

@ -351,7 +351,7 @@ void CPlayer::TryRespawn()
m_Spawning = false;
m_pCharacter = new(m_ClientID) CCharacter(&GameServer()->m_World);
m_pCharacter->Spawn(this, SpawnPos);
GameServer()->CreatePlayerSpawn(SpawnPos);
GameServer()->CreatePlayerSpawn(SpawnPos, m_pCharacter->Teams()->TeamMask(m_pCharacter->Team(), -1, m_ClientID));
}
bool CPlayer::AfkTimer(int NewTargetX, int NewTargetY)