diff --git a/src/gamedata/d_dehacked.cpp b/src/gamedata/d_dehacked.cpp index 50876323e..f2d48939b 100644 --- a/src/gamedata/d_dehacked.cpp +++ b/src/gamedata/d_dehacked.cpp @@ -2033,7 +2033,7 @@ static int PatchPars (int dummy) { while ('\0' != *str) { - if (isspace((unsigned char)*str)) + if (*str != '\r' && isspace((unsigned char)*str)) { return str; }