shithub: choc

Download patch

ref: 6444493dbd51c95c2adf01526dfeeebc74c186fd
parent: 27413cac19e35512f3eeb0354be5261386d94751
author: Simon Howard <[email protected]>
date: Mon Oct 10 16:32:02 EDT 2011

Re-enable FEATURE_MULTIPLAYER, but #undef it in the Strife code so the
build isn't broken.

Subversion-branch: /branches/v2-branch
Subversion-revision: 2411

--- a/src/doomfeatures.h
+++ b/src/doomfeatures.h
@@ -36,9 +36,8 @@
 #define FEATURE_DEHACKED 1
 
 // Enables multiplayer support (network games)
-// STRIFE-TODO: multiplayer is currently broken ...
 
-// #define FEATURE_MULTIPLAYER 1
+#define FEATURE_MULTIPLAYER 1
 
 // Enables sound output
 
--- a/src/strife/d_main.c
+++ b/src/strife/d_main.c
@@ -40,6 +40,7 @@
 
 #include "dstrings.h"
 #include "doomfeatures.h"
+#undef FEATURE_MULTIPLAYER // TODO: Temporary disable for Strife
 #include "sounds.h"
 
 #include "d_iwad.h"
--- a/src/strife/d_net.c
+++ b/src/strife/d_net.c
@@ -28,6 +28,7 @@
 
 
 #include "doomfeatures.h"
+#undef FEATURE_MULTIPLAYER // TODO: Temporary disable for Strife
 
 #include "d_main.h"
 #include "m_argv.h"