mirror of
https://github.com/OpenMW/openmw.git
synced 2025-03-03 13:39:40 +00:00
added load function for exteriors to cell sstore
This commit is contained in:
parent
d52e2f68cd
commit
6583b66e82
1 changed files with 7 additions and 0 deletions
|
@ -124,7 +124,14 @@ namespace ESMS
|
||||||
/** Ditto for exterior cell. */
|
/** Ditto for exterior cell. */
|
||||||
void loadExt(int X, int Y, const ESMStore &store, ESMReader &esm)
|
void loadExt(int X, int Y, const ESMStore &store, ESMReader &esm)
|
||||||
{
|
{
|
||||||
|
std::cout << "loading exterior cell '" << X << ", " << Y << "'\n";
|
||||||
|
|
||||||
|
cell = store.cells.searchExt (X, Y);
|
||||||
|
|
||||||
|
if(cell == NULL)
|
||||||
|
throw str_exception("Exterior cell not found");
|
||||||
|
|
||||||
|
loadRefs(store, esm);
|
||||||
}
|
}
|
||||||
|
|
||||||
private:
|
private:
|
||||||
|
|
Loading…
Reference in a new issue