1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2025-01-01 03:21:41 +00:00

Fix for Bug #2544. Add a default mNpdtType to ESM::Npc::blank().

This commit is contained in:
cc9cii 2015-05-13 13:39:04 +10:00
parent 538e550b2b
commit 7f12fc4770

View File

@ -143,7 +143,7 @@ namespace ESM
void NPC::blank()
{
mNpdtType = 0;
mNpdtType = NPC_DEFAULT;
mNpdt52.mLevel = 0;
mNpdt52.mStrength = mNpdt52.mIntelligence = mNpdt52.mWillpower = mNpdt52.mAgility =
mNpdt52.mSpeed = mNpdt52.mEndurance = mNpdt52.mPersonality = mNpdt52.mLuck = 0;