From 7d1ce1c8cd812761bbb4cd85989aee5884873180 Mon Sep 17 00:00:00 2001 From: "alexey.lysiuk" Date: Thu, 3 Jun 2021 16:46:55 +0300 Subject: [PATCH] - fixed parsing of MAPxx par times in BEX lumps https://forum.zdoom.org/viewtopic.php?t=72458 --- src/gamedata/d_dehacked.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; }