mirror of
https://github.com/TES3MP/TES3MP.git
synced 2025-09-27 15:11:36 -04:00
Creature check was not invoked.
This commit is contained in:
parent
17cc6a695c
commit
59de794e58
@ -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…
x
Reference in New Issue
Block a user