mirror of
https://github.com/ReactionQuake3/reaction.git
synced 2024-11-10 23:32:06 +00:00
Fixed scoring in TOURNAMENT mode and made it a legit gametype.
This commit is contained in:
parent
01283c0538
commit
4a68b19c03
2 changed files with 9 additions and 2 deletions
|
@ -5,6 +5,9 @@
|
|||
//-----------------------------------------------------------------------------
|
||||
//
|
||||
// $Log$
|
||||
// Revision 1.121 2002/08/27 01:25:22 jbravo
|
||||
// Fixed scoring in TOURNAMENT mode and made it a legit gametype.
|
||||
//
|
||||
// Revision 1.120 2002/08/23 23:07:01 blaze
|
||||
// Should have fixed the unkickable thing breaking explosive breakables.
|
||||
//
|
||||
|
@ -1324,7 +1327,7 @@ void player_die(gentity_t * self, gentity_t * inflictor, gentity_t * attacker, i
|
|||
if (g_gametype.integer == GT_TEAMPLAY) {
|
||||
attacker->client->killStreak++;
|
||||
AddScore(attacker, self->r.currentOrigin, 1);
|
||||
} else if (g_gametype.integer == GT_CTF) {
|
||||
} else if (g_gametype.integer == GT_CTF || g_gametype.integer == GT_TOURNAMENT) {
|
||||
attacker->client->killStreak = 0;
|
||||
AddScore(attacker, self->r.currentOrigin, 1);
|
||||
} else {
|
||||
|
|
|
@ -5,6 +5,9 @@
|
|||
//-----------------------------------------------------------------------------
|
||||
//
|
||||
// $Log$
|
||||
// Revision 1.110 2002/08/27 01:25:22 jbravo
|
||||
// Fixed scoring in TOURNAMENT mode and made it a legit gametype.
|
||||
//
|
||||
// Revision 1.109 2002/08/23 14:25:05 slicer
|
||||
// Added a new Referee System with multiple ref support
|
||||
//
|
||||
|
@ -750,7 +753,8 @@ void G_RegisterCvars(void)
|
|||
trap_Cvar_Set("g_gametype", "0");
|
||||
}
|
||||
// JBravo: lets disable the untested modes.
|
||||
if (g_gametype.integer != GT_FFA && g_gametype.integer != GT_TEAMPLAY && g_gametype.integer != GT_CTF) {
|
||||
if (g_gametype.integer != GT_FFA && g_gametype.integer != GT_TEAMPLAY && g_gametype.integer != GT_CTF &&
|
||||
g_gametype.integer != GT_TOURNAMENT) {
|
||||
G_Printf("g_gametype %i is currently not supported by ReactionQuake3. Defaulting to 0\n",
|
||||
g_gametype.integer);
|
||||
trap_Cvar_Set("g_gametype", "0");
|
||||
|
|
Loading…
Reference in a new issue