about summary refs log tree commit diff
path: root/src/game/server/player.cpp
diff options
context:
space:
mode:
authorxalduin <xalduin@gmail.com>2010-06-03 17:08:05 -0400
committerxalduin <xalduin@gmail.com>2010-06-03 17:08:05 -0400
commit9603d676c67af12294e9598cb8be68fbfafc78e7 (patch)
tree251e61356d3fcf51a39d19771884ada21e390e5e /src/game/server/player.cpp
parent825e732c87a5f57ef2f4d9bd9ad5e398a81d3ae2 (diff)
downloadzcatch-9603d676c67af12294e9598cb8be68fbfafc78e7.tar.gz
zcatch-9603d676c67af12294e9598cb8be68fbfafc78e7.zip
Score no longer decreased when switching teams
Diffstat (limited to 'src/game/server/player.cpp')
-rw-r--r--src/game/server/player.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/game/server/player.cpp b/src/game/server/player.cpp
index 354b8118..c295b5d5 100644
--- a/src/game/server/player.cpp
+++ b/src/game/server/player.cpp
@@ -156,8 +156,6 @@ void CPlayer::SetTeam(int Team)
 	GameServer()->SendChat(-1, CGameContext::CHAT_ALL, Buf); 
 	
 	KillCharacter();
-	if( m_Team != -1 )	// Give a point to make up for killing character, but not if they're a spectator
-		m_Score += 1;
 
 	m_Team = Team;
 	//m_ScoreStartTick = Server()->Tick();