Skip to content
Permalink
Browse files

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

  • Loading branch information...
alexey-lysiuk authored and madame-rachelle committed Jun 9, 2019
1 parent ca90516 commit b69260c368d665c55ed2c3e6e5db6d3205b5339c
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 b69260c

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