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:
parent
538e550b2b
commit
7f12fc4770
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user