ref: 9a4f30c23a7b87e5f5bf3e4e4039c845cba38d66
parent: 976ba58a655f3bba8da03e6f27710a56eb1d1272
author: Simon Howard <[email protected]>
date: Sun Oct 6 10:53:03 EDT 2013
Change netgame version mismatch message to be reminiscent of the Vanilla message (thanks Alexandre Xavier). Subversion-branch: /branches/v2-branch Subversion-revision: 2693
--- a/src/net_server.c
+++ b/src/net_server.c
@@ -636,8 +636,8 @@
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;
}
}
--- a/src/net_structrw.c
+++ b/src/net_structrw.c
@@ -571,7 +571,7 @@
for (p=s; *p; ++p)
{
- if (isprint(*p))
+ if (isprint(*p) || *p == '\n')
putchar(*p);
}