mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-01-19 21:53:51 +00:00
Removed boost in favor of #include <components/misc/stringops.hpp>. Hopefully this will make scrawl happy. :P
This commit is contained in:
parent
2c1ef610b9
commit
c981a2a6f8
1 changed files with 2 additions and 2 deletions
|
@ -1,7 +1,7 @@
|
||||||
#include "referenceablecheck.hpp"
|
#include "referenceablecheck.hpp"
|
||||||
#include "../world/record.hpp"
|
#include "../world/record.hpp"
|
||||||
#include "../world/universalid.hpp"
|
#include "../world/universalid.hpp"
|
||||||
#include <boost/algorithm/string.hpp>
|
#include <components/misc/stringops.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 +660,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")) //Happy now, scrawl?
|
||||||
{
|
{
|
||||||
mPlayerPresent = true;
|
mPlayerPresent = true;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue