* Handle industrial zone emigration. * @param pos Position of the center tile of the industrial tile. * @param pos Population value of the industrial zone. * @param value Random land value (it seems). */
| 965 | * @param value Random land value (it seems). |
| 966 | */ |
| 967 | void Micropolis::doIndOut(const Position &pos, int pop, int value) |
| 968 | { |
| 969 | if (pop > 1) { |
| 970 | indPlop(pos, pop - 2, value); |
| 971 | incRateOfGrowth(pos, -8); |
| 972 | return; |
| 973 | } |
| 974 | |
| 975 | if (pop == 1) { |
| 976 | zonePlop(pos, INDBASE); // empty industrial zone |
| 977 | incRateOfGrowth(pos, -8); |
| 978 | } |
| 979 | } |
| 980 | |
| 981 | |
| 982 | /** |
nothing calls this directly
no outgoing calls
no test coverage detected