| 2273 | } |
| 2274 | |
| 2275 | static bool validateSetActionTimerAmount(color_ostream &out, int32_t amount) { |
| 2276 | if (amount <= 0) { |
| 2277 | out.printerr("Can't set action timer(s) to non-positive amount.\n"); |
| 2278 | return false; |
| 2279 | } |
| 2280 | return true; |
| 2281 | } |
| 2282 | |
| 2283 | void Units::setActionTimers(color_ostream &out, df::unit *unit, |
| 2284 | int32_t amount, df::unit_action_type affectedActionType) |
no outgoing calls
no test coverage detected