From 7c9dcf6db6b123b046a37270cd1e961a9986e814 Mon Sep 17 00:00:00 2001 From: Simon Howard Date: Sat, 11 Jul 2009 11:26:05 +0000 Subject: Only show altdeath option in Doom setup. Subversion-branch: /branches/raven-branch Subversion-revision: 1616 --- src/setup/multiplayer.c | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) (limited to 'src') diff --git a/src/setup/multiplayer.c b/src/setup/multiplayer.c index 101361c4..131ec068 100644 --- a/src/setup/multiplayer.c +++ b/src/setup/multiplayer.c @@ -596,6 +596,7 @@ void StartMultiGame(void) txt_table_t *gameopt_table; txt_table_t *advanced_table; txt_widget_t *iwad_selector; + int num_mult_types = 2; window = TXT_NewWindow("Start multiplayer game"); @@ -616,13 +617,22 @@ void StartMultiGame(void) TXT_SetColumnWidths(gameopt_table, 12, 12); + if (gamemission == doom) + { + num_mult_types = 3; + } + else + { + num_mult_types = 2; + } + TXT_AddWidgets(gameopt_table, TXT_NewLabel("Game"), iwad_selector = IWADSelector(), TXT_NewLabel("Skill"), skillbutton = TXT_NewDropdownList(&skill, doom_skills, 5), TXT_NewLabel("Game type"), - TXT_NewDropdownList(&deathmatch, gamemodes, 3), + TXT_NewDropdownList(&deathmatch, gamemodes, num_mult_types), TXT_NewLabel("Level warp"), warpbutton = TXT_NewButton2("????", LevelSelectDialog, NULL), TXT_NewLabel("Time limit"), -- cgit v1.2.3