mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-01-29 22:15:32 +00:00
Allow INFO records with no subrecords following DATA (Fixes #1486)
This commit is contained in:
parent
3334078d4d
commit
4f742fd468
1 changed files with 3 additions and 0 deletions
|
@ -18,6 +18,9 @@ void DialInfo::load(ESMReader &esm)
|
|||
esm.getHT(mData, 12);
|
||||
}
|
||||
|
||||
if (!esm.hasMoreSubs())
|
||||
return;
|
||||
|
||||
// What follows is somewhat spaghetti-ish, but it's worth if for
|
||||
// an extra speedup. INFO is by far the most common record type.
|
||||
|
||||
|
|
Loading…
Reference in a new issue