Skip to content
Permalink
Browse files

- fixed crash on loading map in Hexen format without any nodes

  • Loading branch information...
alexey-lysiuk committed Jun 9, 2019
1 parent d27a7cd commit 4a8438ebb4431e41350e21bce454e6ac513ecec1
Showing with 5 additions and 0 deletions.
  1. +5 −0 src/maploader/maploader.cpp
@@ -767,6 +767,11 @@ bool MapLoader::LoadExtendedNodes (FileReader &dalump, uint32_t id)

static bool P_CheckV4Nodes(MapData *map)
{
if (map->Size(ML_NODES) == 0)
{
return false;
}

char header[8];

map->Read(ML_NODES, header, 8);

0 comments on commit 4a8438e

Please sign in to comment.
You can’t perform that action at this time.