| 637 | string get_age(UnitInfo *u) |
| 638 | { return itos((int)Units::getAge(u->unit)); } |
| 639 | void set_nickname(UnitInfo *u, std::string nick) |
| 640 | { |
| 641 | Units::setNickname(u->unit, nick); |
| 642 | u->name = get_nickname(u); |
| 643 | u->transname = get_nickname_eng(u); |
| 644 | } |
| 645 | void set_profname(UnitInfo *u, std::string prof) |
| 646 | { |
| 647 | u->unit->custom_profession = prof; |
nothing calls this directly
no test coverage detected