mirror of
https://github.com/OpenMW/openmw.git
synced 2025-01-16 17:29:55 +00:00
Merge branch 'how_do_we_still_have_these_issues' into 'master'
Initialize DialInfo::DATAstruct with the proper blank values Closes #6753 See merge request OpenMW/openmw!1857
This commit is contained in:
commit
e7fb8b6fd8
3 changed files with 4 additions and 6 deletions
|
@ -118,6 +118,7 @@
|
|||
Bug #6717: Broken script causes interpreter stack corruption
|
||||
Bug #6718: Throwable weapons cause arrow enchantment effect to be applied to the whole body
|
||||
Bug #6730: LoopGroup stalls animation after playing :Stop frame until another animation is played
|
||||
Bug #6753: Info records without a DATA subrecords are loaded incorrectly
|
||||
Feature #890: OpenMW-CS: Column filtering
|
||||
Feature #1465: "Reset" argument for AI functions
|
||||
Feature #2491: Ability to make OpenMW "portable"
|
||||
|
|
|
@ -133,12 +133,7 @@ namespace ESM
|
|||
|
||||
void DialInfo::blank()
|
||||
{
|
||||
mData.mUnknown1 = 0;
|
||||
mData.mDisposition = 0;
|
||||
mData.mRank = 0;
|
||||
mData.mGender = 0;
|
||||
mData.mPCrank = 0;
|
||||
mData.mUnknown2 = 0;
|
||||
mData = {};
|
||||
|
||||
mSelects.clear();
|
||||
mPrev.clear();
|
||||
|
|
|
@ -43,6 +43,8 @@ struct DialInfo
|
|||
signed char mGender; // See Gender enum
|
||||
signed char mPCrank; // Player rank
|
||||
signed char mUnknown2;
|
||||
|
||||
DATAstruct() : mDisposition(0), mRank(-1), mGender(Gender::NA), mPCrank(-1) {}
|
||||
}; // 12 bytes
|
||||
DATAstruct mData;
|
||||
|
||||
|
|
Loading…
Reference in a new issue