forked from mirror/openmw-tes3mp
Shameful bug fixed.
This commit is contained in:
parent
b85fe2becf
commit
b98cdabe89
1 changed files with 5 additions and 7 deletions
|
@ -206,6 +206,7 @@ void CSMTools::ReferenceableCheckStage::perform(int stage, std::vector< std::str
|
|||
staticCheck(stage, mReferencables.getStatics(), messages);
|
||||
return;
|
||||
}
|
||||
|
||||
// if we come that far, we are about to perform our last, final check.
|
||||
finalCheck(messages);
|
||||
return;
|
||||
|
@ -581,14 +582,11 @@ void CSMTools::ReferenceableCheckStage::lightCheck(
|
|||
|
||||
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());
|
||||
|
||||
if (light.mData.mTime == 0)
|
||||
{
|
||||
messages.push_back(id.toString() + "|" + light.mId + " has zero duration");
|
||||
}
|
||||
if (light.mData.mTime == 0)
|
||||
{
|
||||
messages.push_back(id.toString() + "|" + light.mId + " has zero duration");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue