diff --git a/src/mapper/map_region.c b/src/mapper/map_region.c index dbc649391..61e041ffb 100644 --- a/src/mapper/map_region.c +++ b/src/mapper/map_region.c @@ -30,6 +30,9 @@ #include #include +/* modules includes */ +#include + /* util includes */ #include @@ -365,7 +368,15 @@ showregion(region * r, char full) } for (f = factions; f; f = f->next) if (f->no_units) { +#ifdef ALLIANCES + if(f->alliance != NULL) { + sprintf(buf, " %-26.26s (%s/%d)", f->name, factionid(f), f->alliance->id); + } else { + sprintf(buf, " %-26.26s (%s/-)", f->name, factionid(f)); + } +#else sprintf(buf, " %-29.29s (%s)", f->name, factionid(f)); +#endif adddbllist(®list, buf); sprintf(buf, " Einheiten: %d; Leute: %d %c", f->no_units, f->num_people, Tchar[old_race(f->race)]);