mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-02-13 21:40:11 +00:00
Allow INFO records with no subrecords following DATA (Fixes #1486)
This commit is contained in:
parent
3334078d4d
commit
4f742fd468
@ -18,6 +18,9 @@ void DialInfo::load(ESMReader &esm)
|
|||||||
esm.getHT(mData, 12);
|
esm.getHT(mData, 12);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (!esm.hasMoreSubs())
|
||||||
|
return;
|
||||||
|
|
||||||
// What follows is somewhat spaghetti-ish, but it's worth if for
|
// What follows is somewhat spaghetti-ish, but it's worth if for
|
||||||
// an extra speedup. INFO is by far the most common record type.
|
// an extra speedup. INFO is by far the most common record type.
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user