mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-02-04 21:40:03 +00:00
Fix CellStore::count()
This commit is contained in:
parent
3aa53f3cb4
commit
3dcefd17fc
@ -379,27 +379,7 @@ namespace MWWorld
|
|||||||
|
|
||||||
int CellStore::count() const
|
int CellStore::count() const
|
||||||
{
|
{
|
||||||
return
|
return mMergedRefs.size();
|
||||||
mActivators.mList.size()
|
|
||||||
+ mPotions.mList.size()
|
|
||||||
+ mAppas.mList.size()
|
|
||||||
+ mArmors.mList.size()
|
|
||||||
+ mBooks.mList.size()
|
|
||||||
+ mClothes.mList.size()
|
|
||||||
+ mContainers.mList.size()
|
|
||||||
+ mDoors.mList.size()
|
|
||||||
+ mIngreds.mList.size()
|
|
||||||
+ mCreatureLists.mList.size()
|
|
||||||
+ mItemLists.mList.size()
|
|
||||||
+ mLights.mList.size()
|
|
||||||
+ mLockpicks.mList.size()
|
|
||||||
+ mMiscItems.mList.size()
|
|
||||||
+ mProbes.mList.size()
|
|
||||||
+ mRepairs.mList.size()
|
|
||||||
+ mStatics.mList.size()
|
|
||||||
+ mWeapons.mList.size()
|
|
||||||
+ mCreatures.mList.size()
|
|
||||||
+ mNpcs.mList.size();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void CellStore::load (const MWWorld::ESMStore &store, std::vector<ESM::ESMReader> &esm)
|
void CellStore::load (const MWWorld::ESMStore &store, std::vector<ESM::ESMReader> &esm)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user