diff options
author | Simon Howard | 2013-10-06 14:53:03 +0000 |
---|---|---|
committer | Simon Howard | 2013-10-06 14:53:03 +0000 |
commit | 9a4f30c23a7b87e5f5bf3e4e4039c845cba38d66 (patch) | |
tree | 063cc09aa91a5c6b4c4b69e77d0989b450692c5c | |
parent | 976ba58a655f3bba8da03e6f27710a56eb1d1272 (diff) | |
download | chocolate-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.c | 4 | ||||
-rw-r--r-- | src/net_structrw.c | 2 |
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); } |