Feature #2334 ยป 2334.patch
| server/unithand.c | ||
|---|---|---|
|
citizens_update(pcity, unit_nationality(punit));
|
||
|
if (is_super_specialist(act_utype->spec_type)) {
|
||
|
if (act_utype->spec_type != nullptr) {
|
||
|
Specialist_type_id sspec = specialist_index(act_utype->spec_type);
|
||
|
fc_assert_ret_val(pcity->specialists[sspec] < MAX_CITY_SIZE, FALSE);
|
||