diff --git a/src/sbbs3/inkey.cpp b/src/sbbs3/inkey.cpp index f58631d799bd5aeb9509c086f09eabf6a2a17c20..dea15650b25798faf0538482d222fabf78ecda57 100644 --- a/src/sbbs3/inkey.cpp +++ b/src/sbbs3/inkey.cpp @@ -572,6 +572,8 @@ void sbbs_t::set_mouse(long flags) struct mouse_hotspot* sbbs_t::add_hotspot(struct mouse_hotspot* spot) { + if(!term_supports(MOUSE)) + return NULL; if(spot->y < 0) spot->y = row; if(spot->minx < 0)