1
0
Fork 1
mirror of https://github.com/TES3MP/openmw-tes3mp.git synced 2025-02-06 02:45:31 +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