mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-01-19 21:53:51 +00:00
Editor: Prevent duplicate pathgrids (Bug #3342)
This commit is contained in:
parent
2ca7415708
commit
5580f803fd
1 changed files with 2 additions and 1 deletions
|
@ -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…
Reference in a new issue