|
|
|
@ -1,7 +1,7 @@
|
|
|
|
|
#include "referenceablecheck.hpp"
|
|
|
|
|
#include "../world/record.hpp"
|
|
|
|
|
#include "../world/universalid.hpp"
|
|
|
|
|
#include <boost/algorithm/string.hpp>
|
|
|
|
|
#include <components/misc/stringops.hpp>
|
|
|
|
|
|
|
|
|
|
CSMTools::ReferenceableCheckStage::ReferenceableCheckStage(
|
|
|
|
|
const CSMWorld::RefIdData& referenceable, const CSMWorld::IdCollection<ESM::Race >& races,
|
|
|
|
@ -660,7 +660,7 @@ void CSMTools::ReferenceableCheckStage::npcCheck(
|
|
|
|
|
int gold(npc.mNpdt52.mGold);
|
|
|
|
|
|
|
|
|
|
//Detect if player is present
|
|
|
|
|
if ( boost::algorithm::iequals(npc.mId, "player") )
|
|
|
|
|
if (Misc::StringUtils::ciEqual(npc.mId, "player")) //Happy now, scrawl?
|
|
|
|
|
{
|
|
|
|
|
mPlayerPresent = true;
|
|
|
|
|
}
|
|
|
|
|