Merge remote-tracking branch 'maqifrnswa/bug2407' into openmw-35-1

celladd
Marc Zinnschlag 10 years ago
commit 9f155df761

@ -316,6 +316,7 @@ namespace MWScript
store = MWBase::Environment::get().getWorld()->getExterior(cx,cy); store = MWBase::Environment::get().getWorld()->getExterior(cx,cy);
if(!cell) if(!cell)
{ {
runtime.getContext().report ("unknown cell (" + cellID + ")");
std::cerr << "unknown cell (" << cellID << ")\n"; std::cerr << "unknown cell (" << cellID << ")\n";
} }
} }
@ -428,6 +429,7 @@ namespace MWScript
store = MWBase::Environment::get().getWorld()->getExterior(cx,cy); store = MWBase::Environment::get().getWorld()->getExterior(cx,cy);
if(!cell) if(!cell)
{ {
runtime.getContext().report ("unknown cell (" + cellID + ")");
std::cerr << "unknown cell (" << cellID << ")\n"; std::cerr << "unknown cell (" << cellID << ")\n";
} }
} }

Loading…
Cancel
Save