From: havoc Date: Tue, 1 Jul 2003 02:59:36 +0000 (+0000) Subject: Disable singleplayer menu in Nexuiz (just like Transfusion does) X-Git-Tag: xonotic-v0.1.0preview~6579 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=8dc85371a08736caa586c70285da5c42fb145ce8;p=xonotic%2Fdarkplaces.git Disable singleplayer menu in Nexuiz (just like Transfusion does) git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@3111 d7cf8633-e32d-0410-b094-e92efae38249 --- diff --git a/menu.c b/menu.c index 18e44fed..10439bd4 100644 --- a/menu.c +++ b/menu.c @@ -568,12 +568,15 @@ void M_SinglePlayer_Draw (void) p = Draw_CachePic ("gfx/ttl_sgl.lmp"); // Transfusion doesn't have a single player mode - if (gamemode == GAME_TRANSFUSION) + if (gamemode == GAME_TRANSFUSION || gamemode == GAME_NEXUIZ) { M_DrawPic ((320 - p->width) / 2, 4, "gfx/ttl_sgl.lmp"); M_DrawTextBox (60, 8 * 8, 23, 4); - M_PrintWhite (95, 10 * 8, "Transfusion is for"); + if (gamemode == GAME_NEXUIZ) + M_PrintWhite (95, 10 * 8, "Nexuiz is for"); + else + M_PrintWhite (95, 10 * 8, "Transfusion is for"); M_PrintWhite (83, 11 * 8, "multiplayer play only"); } else @@ -592,7 +595,7 @@ void M_SinglePlayer_Draw (void) void M_SinglePlayer_Key (int key) { - if (gamemode == GAME_TRANSFUSION) + if (gamemode == GAME_TRANSFUSION || gamemode == GAME_NEXUIZ) { if (key == K_ESCAPE || key == K_ENTER) m_state = m_main;