diff --git a/components/esm/loadinfo.cpp b/components/esm/loadinfo.cpp index f86ad3b51..c9860dcef 100644 --- a/components/esm/loadinfo.cpp +++ b/components/esm/loadinfo.cpp @@ -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.