1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2025-02-22 03:40:49 +00:00

Make NPC record reputation, disposition and faction rank have unsigned char type

This commit is contained in:
Capostrophic 2018-09-03 16:30:21 +03:00
parent 322d6ab328
commit 65ff346b61
2 changed files with 3 additions and 2 deletions

View File

@ -114,6 +114,7 @@
Bug #4617: First person sneaking offset is not applied while the character is in air
Bug #4618: Sneaking is possible while the character is flying
Bug #4622: Recharging enchanted items with Soul Gems does not award experience if it fails
Bug #4628: NPC record reputation, disposition and faction rank should have unsigned char type
Feature #1645: Casting effects from objects
Feature #2606: Editor: Implemented (optional) case sensitive global search
Feature #3083: Play animation when NPC is casting spell via script

View File

@ -90,7 +90,7 @@ struct NPC
char mFactionID;
unsigned short mHealth, mMana, mFatigue;
signed char mDisposition, mReputation, mRank;
unsigned char mDisposition, mReputation, mRank;
char mUnknown;
int mGold;
}; // 52 bytes
@ -101,7 +101,7 @@ struct NPC
{
short mLevel;
// see above
signed char mDisposition, mReputation, mRank;
unsigned char mDisposition, mReputation, mRank;
char mUnknown1, mUnknown2, mUnknown3;
int mGold;
}; // 12 bytes