Fixed bugs

This commit is contained in:
jsalmon3 2003-04-23 16:29:39 +00:00
parent f45a0e86ef
commit cfa62b87a3

View file

@ -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;
}
}