Shameful bug fixed.

This commit is contained in:
Marek Kochanowicz 2014-01-10 09:42:36 +01:00
parent b85fe2becf
commit b98cdabe89

View file

@ -206,6 +206,7 @@ void CSMTools::ReferenceableCheckStage::perform(int stage, std::vector< std::str
staticCheck(stage, mReferencables.getStatics(), messages); staticCheck(stage, mReferencables.getStatics(), messages);
return; return;
} }
// if we come that far, we are about to perform our last, final check. // if we come that far, we are about to perform our last, final check.
finalCheck(messages); finalCheck(messages);
return; return;
@ -580,8 +581,6 @@ void CSMTools::ReferenceableCheckStage::lightCheck(
} }
if (light.mData.mFlags & ESM::Light::Carry) if (light.mData.mFlags & ESM::Light::Carry)
{
if (light.mIcon.empty()) //Needs to be checked with carrable flag
{ {
inventoryItemCheck<ESM::Light>(light, messages, id.toString()); inventoryItemCheck<ESM::Light>(light, messages, id.toString());
@ -591,7 +590,6 @@ void CSMTools::ReferenceableCheckStage::lightCheck(
} }
} }
} }
}
void CSMTools::ReferenceableCheckStage::lockpickCheck( void CSMTools::ReferenceableCheckStage::lockpickCheck(
int stage, int stage,