* Handle decay of radio-active tile * @param pos Position of the radio-active tile. */
| 1038 | * @param pos Position of the radio-active tile. |
| 1039 | */ |
| 1040 | void Micropolis::doRadTile(const Position &pos) |
| 1041 | { |
| 1042 | if ((getRandom16() & 4095) == 0) { |
| 1043 | map[pos.posX][pos.posY] = DIRT; /* Radioactive decay */ |
| 1044 | } |
| 1045 | } |
| 1046 | |
| 1047 | |
| 1048 | /** |
nothing calls this directly
no outgoing calls
no test coverage detected