mirror of
https://github.com/ZDoom/qzdoom.git
synced 2024-12-01 00:21:43 +00:00
- Fixed nodes were not rebuilt after loading broken extended nodes.
This commit is contained in:
parent
f108a106c9
commit
638c49fe0f
1 changed files with 7 additions and 1 deletions
|
@ -746,6 +746,11 @@ bool MapLoader::LoadExtendedNodes (FileReader &dalump, uint32_t id)
|
|||
catch (const CRecoverableError& err)
|
||||
{
|
||||
Printf("Error loading nodes: %s.\n", err.what());
|
||||
|
||||
ForceNodeBuild = true;
|
||||
Level->subsectors.Clear();
|
||||
Level->segs.Clear();
|
||||
Level->nodes.Clear();
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
@ -759,6 +764,7 @@ bool MapLoader::LoadExtendedNodes (FileReader &dalump, uint32_t id)
|
|||
{
|
||||
Printf("Error loading nodes: %s\n", error.GetMessage());
|
||||
|
||||
ForceNodeBuild = true;
|
||||
Level->subsectors.Clear();
|
||||
Level->segs.Clear();
|
||||
Level->nodes.Clear();
|
||||
|
|
Loading…
Reference in a new issue