mirror of
https://github.com/OpenMW/openmw.git
synced 2025-01-20 22:53:54 +00:00
added mContainersSize.
This commit is contained in:
parent
dc594da0de
commit
1a7f023237
2 changed files with 4 additions and 1 deletions
|
@ -15,7 +15,8 @@ CSMTools::ReferenceableCheckStage::ReferenceableCheckStage(const CSMWorld::RefId
|
||||||
mPotionsSize(0),
|
mPotionsSize(0),
|
||||||
mApparatiSize(0),
|
mApparatiSize(0),
|
||||||
mArmorsSzie(0),
|
mArmorsSzie(0),
|
||||||
mClothingSize(0)
|
mClothingSize(0),
|
||||||
|
mContainersSize(0)
|
||||||
{
|
{
|
||||||
setSizeVariables();
|
setSizeVariables();
|
||||||
}
|
}
|
||||||
|
@ -28,6 +29,7 @@ void CSMTools::ReferenceableCheckStage::setSizeVariables()
|
||||||
mApparatiSize = mReferencables.getApparati().getSize();
|
mApparatiSize = mReferencables.getApparati().getSize();
|
||||||
mArmorsSzie = mReferencables.getArmors().getSize();
|
mArmorsSzie = mReferencables.getArmors().getSize();
|
||||||
mClothingSize = mReferencables.getClothing().getSize();
|
mClothingSize = mReferencables.getClothing().getSize();
|
||||||
|
mContainersSize = mReferencables.getContainers().getSize();
|
||||||
}
|
}
|
||||||
|
|
||||||
void CSMTools::ReferenceableCheckStage::perform(int stage, std::vector< std::string >& messages)
|
void CSMTools::ReferenceableCheckStage::perform(int stage, std::vector< std::string >& messages)
|
||||||
|
|
|
@ -35,6 +35,7 @@ namespace CSMTools
|
||||||
int mApparatiSize;
|
int mApparatiSize;
|
||||||
int mArmorsSzie;
|
int mArmorsSzie;
|
||||||
int mClothingSize;
|
int mClothingSize;
|
||||||
|
int mContainersSize;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
#endif // REFERENCEABLECHECKSTAGE_H
|
#endif // REFERENCEABLECHECKSTAGE_H
|
||||||
|
|
Loading…
Reference in a new issue