summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorSimon Howard2015-06-10 22:38:19 -0400
committerMike Swanson2015-06-11 12:51:49 -0700
commitbed0ff13bf09b3c6190f9ff0cf6f7182a96a0faf (patch)
tree0f54995d94628e3cbb56ea2a8c1e4d7507758179 /src
parenta538c179abe588e79cc45c20dad25706daa826e4 (diff)
downloadchocolate-doom-bed0ff13bf09b3c6190f9ff0cf6f7182a96a0faf.tar.gz
chocolate-doom-bed0ff13bf09b3c6190f9ff0cf6f7182a96a0faf.tar.bz2
chocolate-doom-bed0ff13bf09b3c6190f9ff0cf6f7182a96a0faf.zip
setup: Fix help URL for level warp menu.
The help URL for the warp menu was linking to the multiplayer start game menu.
Diffstat (limited to 'src')
-rw-r--r--src/setup/multiplayer.c13
1 files changed, 11 insertions, 2 deletions
diff --git a/src/setup/multiplayer.c b/src/setup/multiplayer.c
index a36f4daf..3fe6a826 100644
--- a/src/setup/multiplayer.c
+++ b/src/setup/multiplayer.c
@@ -37,6 +37,7 @@
#define MULTI_START_HELP_URL "http://www.chocolate-doom.org/setup-multi-start"
#define MULTI_JOIN_HELP_URL "http://www.chocolate-doom.org/setup-multi-join"
#define MULTI_CONFIG_HELP_URL "http://www.chocolate-doom.org/setup-multi-config"
+#define LEVEL_WARP_HELP_URL "http://www.chocolate-doom.org/setup-level-warp"
#define NUM_WADS 10
#define NUM_EXTRA_PARAMS 10
@@ -715,9 +716,17 @@ static void StartGameMenu(char *window_title, int multiplayer)
txt_widget_t *iwad_selector;
window = TXT_NewWindow(window_title);
- TXT_SetWindowHelpURL(window, MULTI_START_HELP_URL);
- TXT_AddWidgets(window,
+ if (multiplayer)
+ {
+ TXT_SetWindowHelpURL(window, MULTI_START_HELP_URL);
+ }
+ else
+ {
+ TXT_SetWindowHelpURL(window, LEVEL_WARP_HELP_URL);
+ }
+
+ TXT_AddWidgets(window,
gameopt_table = TXT_NewTable(2),
TXT_NewSeparator("Monster options"),
TXT_NewInvertedCheckBox("Monsters enabled", &nomonsters),