forked from teamnwah/openmw-tes3coop
PositionCell/PlaceItemCell: add console message if cell doesn't exist
This commit is contained in:
parent
53213bf236
commit
d01e8cc97d
1 changed files with 2 additions and 0 deletions
|
@ -316,6 +316,7 @@ namespace MWScript
|
|||
store = MWBase::Environment::get().getWorld()->getExterior(cx,cy);
|
||||
if(!cell)
|
||||
{
|
||||
runtime.getContext().report ("unknown cell (" + cellID + ")");
|
||||
std::cerr << "unknown cell (" << cellID << ")\n";
|
||||
}
|
||||
}
|
||||
|
@ -428,6 +429,7 @@ namespace MWScript
|
|||
store = MWBase::Environment::get().getWorld()->getExterior(cx,cy);
|
||||
if(!cell)
|
||||
{
|
||||
runtime.getContext().report ("unknown cell (" + cellID + ")");
|
||||
std::cerr << "unknown cell (" << cellID << ")\n";
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue