there are regions with no name, maybe?

This commit is contained in:
Enno Rehling 2010-09-11 19:37:11 -07:00
parent 482a39db6d
commit 45f451f17d
1 changed files with 1 additions and 1 deletions

View File

@ -915,7 +915,7 @@ r_demand(const region * r, const luxury_type * ltype)
const char *
rname(const region * r, const struct locale * lang)
{
if (r->land) {
if (r->land && r->land->name) {
return r->land->name;
}
return LOC(lang, terrain_name(r));