1
0
Fork 1
mirror of https://github.com/TES3MP/openmw-tes3mp.git synced 2025-02-03 18:15:33 +00:00

fix for cells that have no region.

This commit is contained in:
scrawl 2012-05-17 18:14:33 +02:00
parent ae77e7b0d8
commit 0afda15ce9

View file

@ -447,7 +447,8 @@ void WindowManager::changeCell(MWWorld::Ptr::CellStore* cell)
else
{
const ESM::Region* region = MWBase::Environment::get().getWorld()->getStore().regions.search(cell->cell->region);
name = region->name;
if (region)
name = region->name;
}
map->setCellName( name );