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:
parent
322d6ab328
commit
65ff346b61
@ -114,6 +114,7 @@
|
|||||||
Bug #4617: First person sneaking offset is not applied while the character is in air
|
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 #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 #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 #1645: Casting effects from objects
|
||||||
Feature #2606: Editor: Implemented (optional) case sensitive global search
|
Feature #2606: Editor: Implemented (optional) case sensitive global search
|
||||||
Feature #3083: Play animation when NPC is casting spell via script
|
Feature #3083: Play animation when NPC is casting spell via script
|
||||||
|
@ -90,7 +90,7 @@ struct NPC
|
|||||||
|
|
||||||
char mFactionID;
|
char mFactionID;
|
||||||
unsigned short mHealth, mMana, mFatigue;
|
unsigned short mHealth, mMana, mFatigue;
|
||||||
signed char mDisposition, mReputation, mRank;
|
unsigned char mDisposition, mReputation, mRank;
|
||||||
char mUnknown;
|
char mUnknown;
|
||||||
int mGold;
|
int mGold;
|
||||||
}; // 52 bytes
|
}; // 52 bytes
|
||||||
@ -101,7 +101,7 @@ struct NPC
|
|||||||
{
|
{
|
||||||
short mLevel;
|
short mLevel;
|
||||||
// see above
|
// see above
|
||||||
signed char mDisposition, mReputation, mRank;
|
unsigned char mDisposition, mReputation, mRank;
|
||||||
char mUnknown1, mUnknown2, mUnknown3;
|
char mUnknown1, mUnknown2, mUnknown3;
|
||||||
int mGold;
|
int mGold;
|
||||||
}; // 12 bytes
|
}; // 12 bytes
|
||||||
|
Loading…
x
Reference in New Issue
Block a user