mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-01-19 21:23:52 +00:00
Creature check was not invoked.
This commit is contained in:
parent
17cc6a695c
commit
59de794e58
1 changed files with 10 additions and 1 deletions
|
@ -207,6 +207,15 @@ void CSMTools::ReferenceableCheckStage::perform(int stage, std::vector< std::str
|
|||
return;
|
||||
}
|
||||
|
||||
stage -= staticSize;
|
||||
|
||||
const int creatureSize(mReferencables.getCreatures().getSize());
|
||||
|
||||
if (stage < creatureSize)
|
||||
{
|
||||
creatureCheck(stage, mReferencables.getCreatures(), messages);
|
||||
return;
|
||||
}
|
||||
// if we come that far, we are about to perform our last, final check.
|
||||
finalCheck(messages);
|
||||
return;
|
||||
|
@ -215,7 +224,7 @@ void CSMTools::ReferenceableCheckStage::perform(int stage, std::vector< std::str
|
|||
int CSMTools::ReferenceableCheckStage::setup()
|
||||
{
|
||||
mPlayerPresent = false;
|
||||
return mReferencables.getSize() + 2; //DANGER, final check is not performed if it is just +1
|
||||
return mReferencables.getSize() + 1;
|
||||
}
|
||||
|
||||
void CSMTools::ReferenceableCheckStage::bookCheck(
|
||||
|
|
Loading…
Reference in a new issue