mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-01-26 18:35:20 +00:00
Editor: Prevent duplicate pathgrids (Bug #3342)
This commit is contained in:
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…
x
Reference in New Issue
Block a user