| 1162 | } |
| 1163 | |
| 1164 | void c_input_reset(bool enable_mouse, bool flush) |
| 1165 | { |
| 1166 | crawl_state.mouse_enabled = (enable_mouse && Options.mouse_input); |
| 1167 | set_mouse_enabled(crawl_state.mouse_enabled); |
| 1168 | |
| 1169 | if (flush) |
| 1170 | _flush_mouse_events(); |
| 1171 | } |
no test coverage detected