| 267 | } |
| 268 | |
| 269 | void Game_Variables::AddRange(int first_id, int last_id, Var_t value) { |
| 270 | PrepareRange(first_id, last_id, "Invalid write var[{},{}] += {}!", value); |
| 271 | WriteRange(first_id, last_id, [value](){ return value; }, VarAdd); |
| 272 | } |
| 273 | |
| 274 | void Game_Variables::SubRange(int first_id, int last_id, Var_t value) { |
| 275 | PrepareRange(first_id, last_id, "Invalid write var[{},{}] -= {}!", value); |
no outgoing calls
no test coverage detected