diff --git a/src/hu_stuff.c b/src/hu_stuff.c index 4200e85edb5be16c4ae61eec74ac64a28ad407ea..bb2b837fcb299e8b0003eaa24764302d2e5bf7ee 100644 --- a/src/hu_stuff.c +++ b/src/hu_stuff.c @@ -714,10 +714,12 @@ static void Got_Saycmd(UINT8 **p, INT32 playernum) // Clean up message a bit // If you use a \r character, you can remove your name // from before the text and then pretend to be someone else! + // If you use a \n character, you can create a new line in + // the log and then pretend to be someone else as well! ptr = msg; while (*ptr != '\0') { - if (*ptr == '\r') + if (*ptr == '\r' || *ptr == '\n') *ptr = ' '; ptr++;