[Client] Fix crash on Linux

pull/163/head
Koncord 8 years ago
parent b1460cf010
commit b0ebad8b83

@ -650,7 +650,8 @@ namespace MWWorld
loadRef (ref, deleted, refNumToID);
}
setLastRefNumIndex(refNumToID.rbegin()->first.mIndex);
if(refNumToID.size() != 0)
setLastRefNumIndex(refNumToID.rbegin()->first.mIndex);
updateMergedRefs();
}

Loading…
Cancel
Save