summaryrefslogtreecommitdiff
path: root/src/doom
diff options
context:
space:
mode:
Diffstat (limited to 'src/doom')
-rw-r--r--src/doom/d_main.c2
-rw-r--r--src/doom/d_net.c2
2 files changed, 4 insertions, 0 deletions
diff --git a/src/doom/d_main.c b/src/doom/d_main.c
index 408d968a..a6f85f07 100644
--- a/src/doom/d_main.c
+++ b/src/doom/d_main.c
@@ -346,7 +346,9 @@ void D_BindVariables(void)
I_BindVariables();
M_BindBaseControls();
+#ifdef FEATURE_MULTIPLAYER
NET_BindVariables();
+#endif
M_BindVariable("mouse_sensitivity", &mouseSensitivity);
M_BindVariable("sfx_volume", &sfxVolume);
diff --git a/src/doom/d_net.c b/src/doom/d_net.c
index 8f75fd06..e43ac4b2 100644
--- a/src/doom/d_net.c
+++ b/src/doom/d_net.c
@@ -433,6 +433,7 @@ static int GetLowTic(void)
int i;
int lowtic;
+#ifdef FEATURE_MULTIPLAYER
if (net_client_connected)
{
lowtic = INT_MAX;
@@ -447,6 +448,7 @@ static int GetLowTic(void)
}
}
else
+#endif
{
lowtic = maketic;
}