summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon Howard2013-10-06 14:53:03 +0000
committerSimon Howard2013-10-06 14:53:03 +0000
commit9a4f30c23a7b87e5f5bf3e4e4039c845cba38d66 (patch)
tree063cc09aa91a5c6b4c4b69e77d0989b450692c5c
parent976ba58a655f3bba8da03e6f27710a56eb1d1272 (diff)
downloadchocolate-doom-9a4f30c23a7b87e5f5bf3e4e4039c845cba38d66.tar.gz
chocolate-doom-9a4f30c23a7b87e5f5bf3e4e4039c845cba38d66.tar.bz2
chocolate-doom-9a4f30c23a7b87e5f5bf3e4e4039c845cba38d66.zip
Change netgame version mismatch message to be reminiscent of the Vanilla
message (thanks Alexandre Xavier). Subversion-branch: /branches/v2-branch Subversion-revision: 2693
-rw-r--r--src/net_server.c4
-rw-r--r--src/net_structrw.c2
2 files changed, 3 insertions, 3 deletions
diff --git a/src/net_server.c b/src/net_server.c
index 8cecf920..a2868370 100644
--- a/src/net_server.c
+++ b/src/net_server.c
@@ -636,8 +636,8 @@ static void NET_SV_ParseSYN(net_packet_t *packet,
if (M_CheckParm("-ignoreversion") == 0)
{
NET_SV_SendReject(addr,
- "Version mismatch: server version is: "
- PACKAGE_STRING);
+ "Different " PACKAGE_NAME " versions cannot play a net game!\n"
+ "Version mismatch: server version is: " PACKAGE_STRING);
return;
}
}
diff --git a/src/net_structrw.c b/src/net_structrw.c
index 19996b14..10b035c0 100644
--- a/src/net_structrw.c
+++ b/src/net_structrw.c
@@ -571,7 +571,7 @@ void NET_SafePuts(char *s)
for (p=s; *p; ++p)
{
- if (isprint(*p))
+ if (isprint(*p) || *p == '\n')
putchar(*p);
}