| 605 | string get_goalname(UnitInfo *u) |
| 606 | { return Units::getGoalName(u->unit); } |
| 607 | string get_real_profname(UnitInfo *u) |
| 608 | { |
| 609 | string tmp = u->unit->custom_profession; |
| 610 | u->unit->custom_profession = ""; |
| 611 | string ret = get_profname(u); |
| 612 | u->unit->custom_profession = tmp; |
| 613 | return ret; |
| 614 | } |
| 615 | string get_base_profname(UnitInfo *u) |
| 616 | { |
| 617 | return ENUM_ATTR_STR(profession, caption, u->unit->profession); |
nothing calls this directly
no test coverage detected