shithub: choc

Download patch

ref: 1301169ae84252e3d51a0bb1a1c19b107b85f5a7
parent: cdcba6a922eb11b0829644ce590210a935297f7e
author: Simon Howard <fraggle@gmail.com>
date: Wed Sep 24 14:59:56 EDT 2008

Comment out i_net calls for the time being, as networking is broken.

Subversion-branch: /branches/raven-branch
Subversion-revision: 1272

--- a/src/heretic/d_net.c
+++ b/src/heretic/d_net.c
@@ -172,7 +172,9 @@
         fprintf(debugfile, "\n");
     }
 
+#ifdef I_NET
     I_NetCmd();
+#endif
 }
 
 /*
@@ -201,7 +203,9 @@
         return false;
 
     doomcom->command = CMD_GET;
+#ifdef I_NET
     I_NetCmd();
+#endif
     if (doomcom->remotenode == -1)
         return false;
 
@@ -599,7 +603,9 @@
     }
 
 // I_InitNetwork sets doomcom and netgame
+#ifdef I_NET
     I_InitNetwork();
+#endif 
     if (doomcom->id != DOOMCOM_ID)
         I_Error("Doomcom buffer invalid!");
     netbuffer = &doomcom->data;