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