1
0
Fork 1
mirror of https://github.com/TES3MP/openmw-tes3mp.git synced 2025-01-19 22:23:51 +00:00

Since commit 8bce460f34 negative value checks no longer make sense. Not sure what to do about Vampire flag, however.

This commit is contained in:
cc9cii 2014-09-10 08:13:10 +10:00
parent 3a5ed9c5bb
commit f0e0494f03

View file

@ -27,16 +27,16 @@ void CSMTools::BodyPartCheckStage::perform ( int stage, Messages &messages )
// Check BYDT // Check BYDT
if ( bodyPart.mData.mPart < 0 || bodyPart.mData.mPart > 14 ) if ( bodyPart.mData.mPart > 14 )
messages.push_back(std::make_pair( id, bodyPart.mId + " has out of range part value." )); messages.push_back(std::make_pair( id, bodyPart.mId + " has out of range part value." ));
if ( bodyPart.mData.mVampire < 0 ) if ( bodyPart.mData.mVampire < 0 )
messages.push_back(std::make_pair( id, bodyPart.mId + " has negative vampire flag." )); messages.push_back(std::make_pair( id, bodyPart.mId + " has negative vampire flag." ));
if ( bodyPart.mData.mFlags < 0 || bodyPart.mData.mFlags > 3 ) if ( bodyPart.mData.mFlags > 3 )
messages.push_back(std::make_pair( id, bodyPart.mId + " has out of range flags value." )); messages.push_back(std::make_pair( id, bodyPart.mId + " has out of range flags value." ));
if ( bodyPart.mData.mType < 0 || bodyPart.mData.mType > 2 ) if ( bodyPart.mData.mType > 2 )
messages.push_back(std::make_pair( id, bodyPart.mId + " has out of range type value." )); messages.push_back(std::make_pair( id, bodyPart.mId + " has out of range type value." ));
// Check MODL // Check MODL