From 143f3eb6450872b886eaee16d955d871fd24bfa3 Mon Sep 17 00:00:00 2001 From: ",,,=^o_._o^=,,," Date: Mon, 5 Nov 2012 23:59:40 +0400 Subject: [PATCH] Fix for teams --- src/game/server/entities/character.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/game/server/entities/character.cpp b/src/game/server/entities/character.cpp index b5a2b1b9b..7c2d6fcec 100644 --- a/src/game/server/entities/character.cpp +++ b/src/game/server/entities/character.cpp @@ -790,8 +790,7 @@ void CCharacter::Die(int Killer, int Weapon) GameServer()->m_World.RemoveEntity(this); GameServer()->m_World.m_Core.m_apCharacters[m_pPlayer->GetCID()] = 0; GameServer()->CreateDeath(m_Pos, m_pPlayer->GetCID(), Teams()->TeamMask(Team(), -1, m_pPlayer->GetCID())); - // moved to DDRaceInit - // Teams()->SetForceCharacterTeam(m_pPlayer->GetCID(), 0); + Teams()->SetForceCharacterTeam(m_pPlayer->GetCID(), 0); } bool CCharacter::TakeDamage(vec2 Force, int Dmg, int From, int Weapon)