From 5acde75166c6a1ac0c59b510eb41009fa401dd82 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 50876323e71..f2d48939bf4 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; }