summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTony J. White <tjw@tjw.org>2006-10-24 21:07:38 +0000
committerTony J. White <tjw@tjw.org>2006-10-24 21:07:38 +0000
commit971dbab460427e44e05d55f2c3aa043cc0c968be (patch)
treeb88b55e6d6ba706ff75efcc47b582aaaa83fc903
parent6b81da2f2e7350b2bf4341a37cce86e003edca73 (diff)
* (bug 2849) reverted something I added in changeset 815 that turned out
not to be necessary.
-rw-r--r--src/game/g_client.c3
-rw-r--r--src/game/g_combat.c3
2 files changed, 0 insertions, 6 deletions
diff --git a/src/game/g_client.c b/src/game/g_client.c
index 491a834d..7350b55c 100644
--- a/src/game/g_client.c
+++ b/src/game/g_client.c
@@ -89,9 +89,6 @@ void G_AddCreditToClient( gclient_t *client, short credit, qboolean cap )
if( !client )
return;
- if( client->sess.sessionTeam == TEAM_SPECTATOR )
- return;
-
//if we're already at the max and trying to add credit then stop
if( cap )
{
diff --git a/src/game/g_combat.c b/src/game/g_combat.c
index 07643a2e..f457b77e 100644
--- a/src/game/g_combat.c
+++ b/src/game/g_combat.c
@@ -41,9 +41,6 @@ void AddScore( gentity_t *ent, int score )
if( !ent->client )
return;
- if( ent->client->sess.sessionTeam == TEAM_SPECTATOR )
- return;
-
// no scoring during pre-match warmup
if( level.warmupTime )
return;