ref: 228ea81c511dc2600def5b66a20b7e46f9c1da43
parent: de82ea5061aeb1646c0fb6c2e25383c8416ad089
parent: 496810dda52599cc70de648e953d68fdf17fa380
author: Simon Howard <fraggle+github@gmail.com>
date: Thu Oct 20 06:14:59 EDT 2016
Merge pull request #785 from CapnClever/raven-config-multiplayer Fix network player name binding in Heretic/Hexen
--- a/src/heretic/d_main.c
+++ b/src/heretic/d_main.c
@@ -755,6 +755,10 @@
M_BindMenuControls();
M_BindMapControls();
+#ifdef FEATURE_MULTIPLAYER
+ NET_BindVariables();
+#endif
+
M_BindIntVariable("mouse_sensitivity", &mouseSensitivity);
M_BindIntVariable("sfx_volume", &snd_MaxVolume);
M_BindIntVariable("music_volume", &snd_MusicVolume);
--- a/src/hexen/h2_main.c
+++ b/src/hexen/h2_main.c
@@ -150,6 +150,10 @@
key_multi_msgplayer[6] = CT_KEY_PLAYER7;
key_multi_msgplayer[7] = CT_KEY_PLAYER8;
+#ifdef FEATURE_MULTIPLAYER
+ NET_BindVariables();
+#endif
+
M_BindIntVariable("graphical_startup", &graphical_startup);
M_BindIntVariable("mouse_sensitivity", &mouseSensitivity);
M_BindIntVariable("sfx_volume", &snd_MaxVolume);