forked from teamnwah/openmw-tes3coop
Fix for Bug #2544. Add a default mNpdtType to ESM::Npc::blank().
This commit is contained in:
parent
538e550b2b
commit
7f12fc4770
1 changed files with 1 additions and 1 deletions
|
@ -143,7 +143,7 @@ namespace ESM
|
||||||
|
|
||||||
void NPC::blank()
|
void NPC::blank()
|
||||||
{
|
{
|
||||||
mNpdtType = 0;
|
mNpdtType = NPC_DEFAULT;
|
||||||
mNpdt52.mLevel = 0;
|
mNpdt52.mLevel = 0;
|
||||||
mNpdt52.mStrength = mNpdt52.mIntelligence = mNpdt52.mWillpower = mNpdt52.mAgility =
|
mNpdt52.mStrength = mNpdt52.mIntelligence = mNpdt52.mWillpower = mNpdt52.mAgility =
|
||||||
mNpdt52.mSpeed = mNpdt52.mEndurance = mNpdt52.mPersonality = mNpdt52.mLuck = 0;
|
mNpdt52.mSpeed = mNpdt52.mEndurance = mNpdt52.mPersonality = mNpdt52.mLuck = 0;
|
||||||
|
|
Loading…
Reference in a new issue