forked from mirror/openmw-tes3mp
Issue #31: Do not try to load dynamical generated cells from ESM/P files
This commit is contained in:
parent
b866323cf3
commit
b448fc7d4c
1 changed files with 6 additions and 0 deletions
|
@ -189,6 +189,9 @@ namespace ESMS
|
|||
{
|
||||
assert (cell);
|
||||
|
||||
if (cell->context.filename.empty())
|
||||
return; // this is a dynamically generated cell -> skipping.
|
||||
|
||||
// Reopen the ESM reader and seek to the right position.
|
||||
cell->restore (esm);
|
||||
|
||||
|
@ -212,6 +215,9 @@ namespace ESMS
|
|||
{
|
||||
assert (cell);
|
||||
|
||||
if (cell->context.filename.empty())
|
||||
return; // this is a dynamically generated cell -> skipping.
|
||||
|
||||
// Reopen the ESM reader and seek to the right position.
|
||||
cell->restore(esm);
|
||||
|
||||
|
|
Loading…
Reference in a new issue