From 318b11bc283179778c5d4dfa530d65b57e7590b0 Mon Sep 17 00:00:00 2001 From: havoc Date: Sat, 19 Nov 2005 12:45:01 +0000 Subject: [PATCH] disable sbar in GAME_NETHERWORLD (it draws it using qc) git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@5811 d7cf8633-e32d-0410-b094-e92efae38249 --- sbar.c | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/sbar.c b/sbar.c index 677a156b..4e09cbc4 100644 --- a/sbar.c +++ b/sbar.c @@ -147,7 +147,10 @@ void sbar_start(void) numsbarpics = 0; - if (gamemode == GAME_SOM) + if (gamemode == GAME_NETHERWORLD) + { + } + else if (gamemode == GAME_SOM) { sb_disc = Sbar_NewPic("gfx/disc"); @@ -967,7 +970,10 @@ void Sbar_Draw (void) return; } - if (gamemode == GAME_SOM) + if (gamemode == GAME_NETHERWORLD) + { + } + else if (gamemode == GAME_SOM) { if (sb_showscores || (cl.stats[STAT_HEALTH] <= 0 && cl_deathscoreboard.integer)) Sbar_DrawScoreboard (); -- 2.39.2