1
0
Fork 0
mirror of https://github.com/OpenMW/openmw.git synced 2025-01-21 08:53:52 +00:00

Check if deleted, just in case.

This commit is contained in:
cc9cii 2021-08-21 07:20:10 +10:00
parent bd3ef506cd
commit 28ad139464

View file

@ -875,7 +875,7 @@ namespace MWWorld
// deal with mods that have empty pathgrid records (Issue #6209)
// we assume that these records are empty on purpose (i.e. to remove old pathgrid on an updated cell)
if (pathgrid.mPoints.empty() || pathgrid.mEdges.empty())
if (isDeleted || pathgrid.mPoints.empty() || pathgrid.mEdges.empty())
{
if (interior)
{