summaryrefslogtreecommitdiff
path: root/src/game/g_main.c
diff options
context:
space:
mode:
authorTim Angus <tim@ngus.net>2002-09-16 01:24:12 +0000
committerTim Angus <tim@ngus.net>2002-09-16 01:24:12 +0000
commit8ecf6d9e5d2a03e965647ac264940f8cd34eef0a (patch)
tree579d5c88e7d3d3b767e39d3cdd3e40ebc974bf75 /src/game/g_main.c
parenteb401f8e27491f048ca0095a3e2f984e2e3a151b (diff)
* Added global header tremulous.h in preparation for balancing
* Constants propogated throughout the source * Various random fixes and tweaks
Diffstat (limited to 'src/game/g_main.c')
-rw-r--r--src/game/g_main.c8
1 files changed, 2 insertions, 6 deletions
diff --git a/src/game/g_main.c b/src/game/g_main.c
index 478d0906..edefb98d 100644
--- a/src/game/g_main.c
+++ b/src/game/g_main.c
@@ -32,7 +32,6 @@ typedef struct
gentity_t g_entities[ MAX_GENTITIES ];
gclient_t g_clients[ MAX_CLIENTS ];
-vmCvar_t g_dmflags;
vmCvar_t g_fraglimit;
vmCvar_t g_timelimit;
vmCvar_t g_capturelimit;
@@ -104,10 +103,7 @@ static cvarTable_t gameCvarTable[ ] =
{ &g_maxGameClients, "g_maxGameClients", "0", CVAR_SERVERINFO | CVAR_LATCH | CVAR_ARCHIVE, 0, qfalse },
// change anytime vars
- { &g_dmflags, "dmflags", "0", CVAR_SERVERINFO | CVAR_ARCHIVE, 0, qtrue },
- { &g_fraglimit, "fraglimit", "0", CVAR_SERVERINFO | CVAR_ARCHIVE | CVAR_NORESTART, 0, qtrue },
{ &g_timelimit, "timelimit", "0", CVAR_SERVERINFO | CVAR_ARCHIVE | CVAR_NORESTART, 0, qtrue },
- { &g_capturelimit, "capturelimit", "0", CVAR_SERVERINFO | CVAR_ARCHIVE | CVAR_NORESTART, 0, qtrue },
{ &g_synchronousClients, "g_synchronousClients", "0", CVAR_SYSTEMINFO, 0, qfalse },
@@ -851,8 +847,8 @@ void CalculateRanks( void )
else
{
// we are tied with the previous client
- level.clients[ level.sortedClients[ i - 1 ] ].ps.persistant[ PERS_RANK ] = rank | RANK_TIED_FLAG;
- level.clients[ level.sortedClients[ i ] ].ps.persistant[ PERS_RANK ] = rank | RANK_TIED_FLAG;
+ level.clients[ level.sortedClients[ i - 1 ] ].ps.persistant[ PERS_RANK ] = rank;
+ level.clients[ level.sortedClients[ i ] ].ps.persistant[ PERS_RANK ] = rank;
}
score = newScore;