just set backsector to NULL

if not in vanilla doom compat mode/overflow emulation GetSectorAtNullAddress will just return NULL, so we can do so aswell
This commit is contained in:
alufolie91 committed 2026-06-22 20:52:42 +02:00
1 parent 363612c488
commit 2dacc333b5
1 file changed
+1 -2
+1 -2
View File
@@ -534,8 +534,7 @@ static void P_LoadSegs(UINT8 *data)
if (ldef->sidenum[rawside^1] == NO_INDEX)
{
I_Error("P_LoadSegs: back of seg %s has no sidedef while being marked as double sided\n", sizeu1(i));
// this is wrong
//li->backsector = GetSectorAtNullAddress();
li->backsector = NULL;
}
else
{