ref: facc2f70b1bfac51ddaefb78fcbef04a8d5c8e2b
parent: acf1f779d12fa2e7ac87a77f063cc8b084d5b7ee
author: Simon Howard <[email protected]>
date: Wed Sep 24 16:16:41 EDT 2008
Add #ifdefs necessary to disable multiplayer. Subversion-branch: /branches/raven-branch Subversion-revision: 1280
--- a/src/doom/d_main.c
+++ b/src/doom/d_main.c
@@ -346,7 +346,9 @@
I_BindVariables();
M_BindBaseControls();
+#ifdef FEATURE_MULTIPLAYER
NET_BindVariables();
+#endif
M_BindVariable("mouse_sensitivity", &mouseSensitivity);
M_BindVariable("sfx_volume", &sfxVolume);
--- a/src/doom/d_net.c
+++ b/src/doom/d_net.c
@@ -433,6 +433,7 @@
int i;
int lowtic;
+#ifdef FEATURE_MULTIPLAYER
if (net_client_connected)
{
lowtic = INT_MAX;
@@ -447,6 +448,7 @@
}
}
else
+#endif
{
lowtic = maketic;
}