mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-10 10:08:18 +00:00
Fix for teams
This commit is contained in:
parent
8bf3e0a265
commit
143f3eb645
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue