1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2025-01-25 15:35:23 +00:00

Editor: Prevent duplicate pathgrids (Bug #3342)

This commit is contained in:
Rob Cutmore 2016-05-02 07:28:32 -04:00
parent 2ca7415708
commit 5580f803fd

View File

@ -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