mirror of
https://github.com/TES3MP/TES3MP.git
synced 2025-09-27 15:11:36 -04:00
use GMST sDefaultCellname for the map window when cell has no region or name.
This commit is contained in:
parent
c9aa0ca1f4
commit
52e5e14654
@ -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 );
|
||||
|
Loading…
x
Reference in New Issue
Block a user