From cfa62b87a365b952c2f3309885e1c13aa09d9561 Mon Sep 17 00:00:00 2001 From: jsalmon3 <> Date: Wed, 23 Apr 2003 16:29:39 +0000 Subject: [PATCH] Fixed bugs --- src/network/network.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/network/network.cpp b/src/network/network.cpp index 29124f072..26b57de92 100644 --- a/src/network/network.cpp +++ b/src/network/network.cpp @@ -923,8 +923,8 @@ local void ParseNetworkCommand(const NetworkCommandQueue *ncq) } NetMsgBufLen[ply] += sizeof(ncm->Text); if (ncq->Data.Type == MessageChatTerm) { - NetMsgBuf[127][ply] = '\0'; - SetMessage(NetMsgBuf[ply]); + NetMsgBuf[ply][127] = '\0'; + SetMessage("%s", NetMsgBuf[ply]); NetMsgBufLen[ply] = 0; } }