diff --git a/code/cgame/cg_draw.c b/code/cgame/cg_draw.c
index 4a5009d..dc588c0 100644
a
|
b
|
static void CG_Draw2D(stereoFrame_t stereoFrame) |
4189 | 4189 | return; |
4190 | 4190 | } |
4191 | 4191 | |
| 4192 | #ifdef SMOKINGUNS |
| 4193 | // iLag -- Draw the game restart timer when the round is over. |
| 4194 | // Needs to be here or the intermission checker will override it. |
| 4195 | if ( !CG_DrawFollow() ) { |
| 4196 | if(cg_warmupmessage.integer) |
| 4197 | CG_DrawWarmup(); |
| 4198 | } |
| 4199 | #endif |
| 4200 | |
4192 | 4201 | if ( cg.snap->ps.pm_type == PM_INTERMISSION ) { |
4193 | 4202 | CG_DrawIntermission(); |
4194 | 4203 | return; |
… |
… |
static void CG_Draw2D(stereoFrame_t stereoFrame) |
4241 | 4250 | // Draw chat messages |
4242 | 4251 | CG_DrawChatMessages(); |
4243 | 4252 | |
4244 | | if ( !CG_DrawFollow() ) { |
4245 | | if(cg_warmupmessage.integer) |
4246 | | CG_DrawWarmup(); |
4247 | | } |
4248 | | |
4249 | 4253 | CG_DrawSpectator(); |
4250 | 4254 | |
4251 | 4255 | CG_ScanForCrosshairEntity( &changeCrosshair, &isPlayer ); |
diff --git a/code/game/g_main.c b/code/game/g_main.c
index 71e8318..70b5b3e 100644
a
|
b
|
void ClearDuelData(qboolean all); |
1580 | 1580 | void ExitLevel (void) { |
1581 | 1581 | int i; |
1582 | 1582 | gclient_t *cl; |
1583 | | #ifndef SMOKINGUNS |
1584 | 1583 | char nextmap[MAX_STRING_CHARS]; |
| 1584 | #ifndef SMOKINGUNS |
1585 | 1585 | char d1[MAX_STRING_CHARS]; |
1586 | 1586 | #endif |
1587 | 1587 | |
… |
… |
void ExitLevel (void) { |
1612 | 1612 | trap_SendConsoleCommand( EXEC_APPEND, "vstr nextmap\n" ); |
1613 | 1613 | } |
1614 | 1614 | #else |
1615 | | trap_SendConsoleCommand( EXEC_APPEND, "vstr nextmap\n" ); |
| 1615 | trap_Cvar_VariableStringBuffer( "nextmap", nextmap, sizeof(nextmap) ); |
| 1616 | if ( Q_stricmp( nextmap , "" ) ){ |
| 1617 | trap_SendConsoleCommand( EXEC_APPEND, "vstr nextmap\n" ); |
| 1618 | } else { |
| 1619 | Com_Printf("No nextmap specified! Restarting current map in 5 seconds.\n"); |
| 1620 | trap_SendConsoleCommand( EXEC_APPEND, "map_restart 5\n" ); |
| 1621 | } |
1616 | 1622 | #endif |
1617 | 1623 | |
1618 | 1624 | level.changemap = NULL; |