mirror of
https://github.com/TES3MP/TES3MP.git
synced 2025-09-28 15:41:13 -04:00
replaced raw values with enums.
This commit is contained in:
parent
558690b571
commit
e860717105
@ -656,9 +656,9 @@ void CSMTools::ReferenceableCheckStage::npcCheck(
|
||||
//Don't know what unknown is for
|
||||
int Gold(NPC.mNpdt52.mGold);
|
||||
|
||||
if (NPC.mNpdtType == 12) //12 = autocalculated
|
||||
if (NPC.mNpdtType == ESM::NPC::NPC_WITH_AUTOCALCULATED_STATS) //12 = autocalculated
|
||||
{
|
||||
if ((NPC.mFlags & 0x0008) == 0) //0x0008 = autocalculated flag
|
||||
if ((NPC.mFlags & ESM::NPC::Autocalc) == 0) //0x0008 = autocalculated flag
|
||||
{
|
||||
messages.push_back(id.toString() + "|" + NPC.mId + " mNpdtType or flags mismatch!"); //should not happend?
|
||||
return;
|
||||
|
Loading…
x
Reference in New Issue
Block a user