mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-03-30 10:06:42 +00:00
changed according to the scrawl sugestion
This commit is contained in:
parent
59de794e58
commit
e34cb9e931
1 changed files with 2 additions and 1 deletions
|
@ -2,6 +2,7 @@
|
||||||
#include "../world/record.hpp"
|
#include "../world/record.hpp"
|
||||||
#include "../world/universalid.hpp"
|
#include "../world/universalid.hpp"
|
||||||
#include <boost/algorithm/string.hpp>
|
#include <boost/algorithm/string.hpp>
|
||||||
|
#include "../../../../openmw/apps/openmw/mwclass/misc.hpp"
|
||||||
|
|
||||||
CSMTools::ReferenceableCheckStage::ReferenceableCheckStage(
|
CSMTools::ReferenceableCheckStage::ReferenceableCheckStage(
|
||||||
const CSMWorld::RefIdData& referenceable, const CSMWorld::IdCollection<ESM::Race >& races,
|
const CSMWorld::RefIdData& referenceable, const CSMWorld::IdCollection<ESM::Race >& races,
|
||||||
|
@ -660,7 +661,7 @@ void CSMTools::ReferenceableCheckStage::npcCheck(
|
||||||
int gold(npc.mNpdt52.mGold);
|
int gold(npc.mNpdt52.mGold);
|
||||||
|
|
||||||
//Detect if player is present
|
//Detect if player is present
|
||||||
if ( boost::algorithm::iequals(npc.mId, "player") )
|
if (Misc::StringUtils::ciEqual(npc.mId, "player"))
|
||||||
{
|
{
|
||||||
mPlayerPresent = true;
|
mPlayerPresent = true;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue