no moreTKing in MM

This commit is contained in:
Bryce Hutchings 2002-06-04 07:20:48 +00:00
parent 56e91688cc
commit 673cef5d49

View file

@ -5,6 +5,9 @@
//----------------------------------------------------------------------------- //-----------------------------------------------------------------------------
// //
// $Log$ // $Log$
// Revision 1.101 2002/06/04 07:20:48 niceass
// no moreTKing in MM
//
// Revision 1.100 2002/05/31 17:32:11 jbravo // Revision 1.100 2002/05/31 17:32:11 jbravo
// HC gibs almost working :) // HC gibs almost working :)
// //
@ -851,7 +854,7 @@ void SpawnPlayers()
ClientUserinfoChanged(clientNum); ClientUserinfoChanged(clientNum);
client->sess.teamSpawn = qfalse; client->sess.teamSpawn = qfalse;
} }
//Blaze: May aswell respawn breakables here //Blaze: May aswell respawn breakables here
for (i=0; i<level.num_entities; i++) { for (i=0; i<level.num_entities; i++) {
ent = &g_entities[i]; ent = &g_entities[i];
if (ent != NULL && ent->classname != NULL && !strcmp(ent->classname, "func_breakable")) { if (ent != NULL && ent->classname != NULL && !strcmp(ent->classname, "func_breakable")) {
@ -1898,7 +1901,8 @@ void Add_TeamKill(gentity_t *attacker)
char userinfo[MAX_INFO_STRING]; char userinfo[MAX_INFO_STRING];
char *value; char *value;
if (g_gametype.integer != GT_TEAMPLAY || !attacker->client) // NiceAss: No TKing in matchmode
if (g_gametype.integer != GT_TEAMPLAY || !attacker->client || g_RQ3_matchmode.integer )
return; return;
attacker->client->team_kills++; attacker->client->team_kills++;