mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-01-20 07:53:51 +00:00
Merge pull request #1906 from Capostrophic/loadnpc
Make several NPC fields have unsigned char type (bug #4628)
This commit is contained in:
commit
cf5c5b146d
2 changed files with 3 additions and 2 deletions
|
@ -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…
Reference in a new issue