From 6c915d79409760c8c6d8234c77e8044046f5137d Mon Sep 17 00:00:00 2001 From: Christoph Oelckers Date: Tue, 12 Jul 2022 09:45:23 +0200 Subject: [PATCH] - Blood may not abort on a bogus start position. There seem to be ways to override it elsewhere. The initial position gets used by some code, so it still needs to be validated, though. --- source/games/blood/src/db.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/games/blood/src/db.cpp b/source/games/blood/src/db.cpp index 564983b10..7075edc12 100644 --- a/source/games/blood/src/db.cpp +++ b/source/games/blood/src/db.cpp @@ -671,7 +671,7 @@ void dbLoadMap(const char* pPath, int* pX, int* pY, int* pZ, short* pAngle, int* sectionGeometry.SetSize(sections.Size()); wallbackup = wall; sectorbackup = sector; - validateStartSector(mapname.GetChars(), { *pX, *pY, *pZ }, cursectnum, mapHeader.numsectors, gModernMap); + validateStartSector(mapname.GetChars(), { *pX, *pY, *pZ }, cursectnum, mapHeader.numsectors, true); }