P_GetNodetype: Set virtnodes for traditional Doom format

This commit is contained in:
MascaraSnake 2019-12-29 20:43:41 +01:00
parent 882e8ef7b8
commit dd02fe0d78

View file

@ -1502,7 +1502,10 @@ static nodetype_t P_GetNodetype(const virtres_t *virt, virtlump_t *virtnodes)
virtlump_t *virtssectors;
if (virtsegs && virtsegs->size)
{
virtnodes = vres_Find(virt, "NODES");
return NT_DOOM; // Traditional map format BSP tree.
}
virtssectors = vres_Find(virt, "SSECTORS");