foxygit / doom Log in
commit 2df46868ae68060f3eb681a5dd1943ee522a88b4
Author:     Simon Howard <fraggle@gmail.com>
AuthorDate: Sun Jun 7 01:26:45 2009 +0000
Commit:     Simon Howard <fraggle@gmail.com>
CommitDate: Sun Jun 7 01:26:45 2009 +0000

    Fix compile with FEATURE_MULTIPLAYER disabled.

    Subversion-branch: /trunk/chocolate-doom
    Subversion-revision: 1555
---
 src/d_net.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/d_net.c b/src/d_net.c
index 4e87a813..f5890769 100644
--- a/src/d_net.c
+++ b/src/d_net.c
@@ -429,6 +429,7 @@ static int GetLowTic(void)
     int i;
     int lowtic;

+#ifdef FEATURE_MULTIPLAYER
     if (net_client_connected)
     {
         lowtic = INT_MAX;
@@ -443,6 +444,7 @@ static int GetLowTic(void)
         }
     }
     else
+#endif
     {
         lowtic = maketic;
     }