diff --git a/apps/opencs/model/world/data.cpp b/apps/opencs/model/world/data.cpp index 5c81d3b08b..414329aa24 100644 --- a/apps/opencs/model/world/data.cpp +++ b/apps/opencs/model/world/data.cpp @@ -1139,7 +1139,8 @@ bool CSMWorld::Data::hasId (const std::string& id) const getBodyParts().searchId (id)!=-1 || getSoundGens().searchId (id)!=-1 || getMagicEffects().searchId (id)!=-1 || - getReferenceables().searchId (id)!=-1; + getReferenceables().searchId (id)!=-1 || + getPathgrids().searchId (id)!=-1; } int CSMWorld::Data::count (RecordBase::State state) const