1
0
Fork 0
mirror of https://github.com/OpenMW/openmw.git synced 2025-01-20 20:23:54 +00:00

added mContainersSize.

This commit is contained in:
Marek Kochanowicz 2013-12-22 14:35:40 +01:00
parent dc594da0de
commit 1a7f023237
2 changed files with 4 additions and 1 deletions

View file

@ -15,7 +15,8 @@ CSMTools::ReferenceableCheckStage::ReferenceableCheckStage(const CSMWorld::RefId
mPotionsSize(0),
mApparatiSize(0),
mArmorsSzie(0),
mClothingSize(0)
mClothingSize(0),
mContainersSize(0)
{
setSizeVariables();
}
@ -28,6 +29,7 @@ void CSMTools::ReferenceableCheckStage::setSizeVariables()
mApparatiSize = mReferencables.getApparati().getSize();
mArmorsSzie = mReferencables.getArmors().getSize();
mClothingSize = mReferencables.getClothing().getSize();
mContainersSize = mReferencables.getContainers().getSize();
}
void CSMTools::ReferenceableCheckStage::perform(int stage, std::vector< std::string >& messages)

View file

@ -35,6 +35,7 @@ namespace CSMTools
int mApparatiSize;
int mArmorsSzie;
int mClothingSize;
int mContainersSize;
};
}
#endif // REFERENCEABLECHECKSTAGE_H