commit facc2f70b1bfac51ddaefb78fcbef04a8d5c8e2b
Author: Simon Howard <fraggle@gmail.com>
AuthorDate: Wed Sep 24 20:16:41 2008 +0000
Commit: Simon Howard <fraggle@gmail.com>
CommitDate: Wed Sep 24 20:16:41 2008 +0000
Add #ifdefs necessary to disable multiplayer.
Subversion-branch: /branches/raven-branch
Subversion-revision: 1280
---
src/doom/d_main.c | 2 ++
src/doom/d_net.c | 2 ++
2 files changed, 4 insertions(+)
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;
}