summaryrefslogtreecommitdiff
path: root/src/game/g_main.c
diff options
context:
space:
mode:
authorTony J. White <tjw@tjw.org>2007-03-26 04:51:30 +0000
committerTony J. White <tjw@tjw.org>2007-03-26 04:51:30 +0000
commitce1b557f89f88165b681b99c7b5182f0cf87a0c6 (patch)
tree12f86fae60ad65813e90b4e9f4818c1e4dffcd9c /src/game/g_main.c
parent527094c03ee3aa2a1eb4da9e6c6ce0d5f5b2aff6 (diff)
* clear CS_WINNER in G_ShutdownGame instead of G_InitGame
Diffstat (limited to 'src/game/g_main.c')
-rw-r--r--src/game/g_main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game/g_main.c b/src/game/g_main.c
index 4f4423d4..ac94cab6 100644
--- a/src/game/g_main.c
+++ b/src/game/g_main.c
@@ -600,7 +600,6 @@ void G_InitGame( int levelTime, int randomSeed, int restart )
&level.clients[ 0 ].ps, sizeof( level.clients[ 0 ] ) );
trap_SetConfigstring( CS_INTERMISSION, "0" );
- trap_SetConfigstring( CS_WINNER, "" );
// test to see if a custom buildable layout will be loaded
G_LayoutSelect( );
@@ -688,6 +687,7 @@ void G_ShutdownGame( int restart )
level.restarted = qfalse;
level.surrenderTeam = PTE_NONE;
+ trap_SetConfigstring( CS_WINNER, "" );
}