ref: 496810dda52599cc70de648e953d68fdf17fa380
parent: de82ea5061aeb1646c0fb6c2e25383c8416ad089
author: Thomas A. Birkel <[email protected]>
date: Wed Oct 19 19:06:45 EDT 2016
Fix network player name binding in Heretic/Hexen (#612)
--- 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);