From 02c098574cc768cbb564c6a239289edaffea35e1 Mon Sep 17 00:00:00 2001
From: Monster Iestyn <iestynjealous@ntlworld.com>
Date: Sat, 10 Jun 2017 17:09:08 +0100
Subject: [PATCH] ah, turns out the TIC n debugfile print is a remnant of when
 Doom Legacy printed the consistancy return value... which we'll do here now
 too, in that case

---
 src/d_clisrv.c | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/src/d_clisrv.c b/src/d_clisrv.c
index acaca1f624..7063126237 100644
--- a/src/d_clisrv.c
+++ b/src/d_clisrv.c
@@ -4077,7 +4077,7 @@ static INT16 Consistancy(void)
 	mobj_t *mo;
 #endif
 
-	DEBFILE(va("TIC %u\n", gametic));
+	DEBFILE(va("TIC %u ", gametic));
 
 	for (i = 0; i < MAXPLAYERS; i++)
 	{
@@ -4099,7 +4099,10 @@ static INT16 Consistancy(void)
 
 #ifdef MOBJCONSISTANCY
 	if (!thinkercap.next)
+	{
+		DEBFILE(va("Consistancy = %u\n", ret));
 		return ret;
+	}
 	for (th = thinkercap.next; th != &thinkercap; th = th->next)
 	{
 		if (th->function.acp1 != (actionf_p1)P_MobjThinker)
@@ -4168,6 +4171,8 @@ static INT16 Consistancy(void)
 	}
 #endif
 
+	DEBFILE(va("Consistancy = %u\n", (ret & 0xFFFF)));
+
 	return (INT16)(ret & 0xFFFF);
 }
 
-- 
GitLab