From 8298ed3559e4929eeb60119e7f5ba9f5f5c2965b Mon Sep 17 00:00:00 2001
From: Louis-Antoine <lamr@free.fr>
Date: Sat, 14 Jan 2017 19:24:22 +0100
Subject: [PATCH] DEBUGMODE -> _DEBUG =)

---
 src/d_clisrv.c | 2 +-
 src/d_clisrv.h | 2 +-
 src/i_tcp.c    | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/d_clisrv.c b/src/d_clisrv.c
index 0a98762ef5..ad82e7a00e 100644
--- a/src/d_clisrv.c
+++ b/src/d_clisrv.c
@@ -2847,7 +2847,7 @@ void D_ClientServerInit(void)
 	COM_AddCommand("drop", Command_Drop);
 	COM_AddCommand("droprate", Command_Droprate);
 #endif
-#ifdef DEBUGMODE
+#ifdef _DEBUG
 	COM_AddCommand("numnodes", Command_Numnodes);
 #endif
 #endif
diff --git a/src/d_clisrv.h b/src/d_clisrv.h
index eedff8d7c7..413acade73 100644
--- a/src/d_clisrv.h
+++ b/src/d_clisrv.h
@@ -80,7 +80,7 @@ typedef enum
 void Command_Drop(void);
 void Command_Droprate(void);
 #endif
-#ifdef DEBUGMODE
+#ifdef _DEBUG
 void Command_Numnodes(void);
 #endif
 
diff --git a/src/i_tcp.c b/src/i_tcp.c
index 028a4f6a56..c65a536a85 100644
--- a/src/i_tcp.c
+++ b/src/i_tcp.c
@@ -529,7 +529,7 @@ static SINT8 getfreenode(void)
 	return -1;
 }
 
-#ifdef DEBUGMODE
+#ifdef _DEBUG
 void Command_Numnodes(void)
 {
 	INT32 connected = 0;
-- 
GitLab