use GMST sDefaultCellname for the map window when cell has no region or name.

This commit is contained in:
scrawl 2012-05-17 23:42:09 +02:00
parent c9aa0ca1f4
commit 52e5e14654

View file

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