forked from mirror/openmw-tes3mp
[Client] Fix crash on Linux
This commit is contained in:
parent
b1460cf010
commit
b0ebad8b83
1 changed files with 2 additions and 1 deletions
|
@ -650,7 +650,8 @@ namespace MWWorld
|
||||||
loadRef (ref, deleted, refNumToID);
|
loadRef (ref, deleted, refNumToID);
|
||||||
}
|
}
|
||||||
|
|
||||||
setLastRefNumIndex(refNumToID.rbegin()->first.mIndex);
|
if(refNumToID.size() != 0)
|
||||||
|
setLastRefNumIndex(refNumToID.rbegin()->first.mIndex);
|
||||||
|
|
||||||
updateMergedRefs();
|
updateMergedRefs();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue