Editor: Prevent duplicate pathgrids (Bug #3342)

pull/1/head
Rob Cutmore 9 years ago
parent 2ca7415708
commit 5580f803fd

@ -1139,7 +1139,8 @@ bool CSMWorld::Data::hasId (const std::string& id) const
getBodyParts().searchId (id)!=-1 || getBodyParts().searchId (id)!=-1 ||
getSoundGens().searchId (id)!=-1 || getSoundGens().searchId (id)!=-1 ||
getMagicEffects().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 int CSMWorld::Data::count (RecordBase::State state) const

Loading…
Cancel
Save