mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-03-25 16:43:33 +00:00
Issue #31: Do not try to load dynamical generated cells from ESM/P files
This commit is contained in:
parent
b866323cf3
commit
b448fc7d4c
@ -189,6 +189,9 @@ namespace ESMS
|
|||||||
{
|
{
|
||||||
assert (cell);
|
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.
|
// Reopen the ESM reader and seek to the right position.
|
||||||
cell->restore (esm);
|
cell->restore (esm);
|
||||||
|
|
||||||
@ -212,6 +215,9 @@ namespace ESMS
|
|||||||
{
|
{
|
||||||
assert (cell);
|
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.
|
// Reopen the ESM reader and seek to the right position.
|
||||||
cell->restore(esm);
|
cell->restore(esm);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user