mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-01-30 02:45:32 +00:00
DialInfo: Clear SelectStructs from previous loadings when a record is overwritten (Fixes #2017)
This commit is contained in:
parent
c4e81adb83
commit
86280df55a
1 changed files with 3 additions and 0 deletions
|
@ -16,6 +16,9 @@ void DialInfo::load(ESMReader &esm)
|
|||
mPrev = esm.getHNString("PNAM");
|
||||
mNext = esm.getHNString("NNAM");
|
||||
|
||||
// Since there's no way to mark selects as "deleted", we have to clear the SelectStructs from all previous loadings
|
||||
mSelects.clear();
|
||||
|
||||
// Not present if deleted
|
||||
if (esm.isNextSub("DATA")) {
|
||||
esm.getHT(mData, 12);
|
||||
|
|
Loading…
Reference in a new issue