factored out mark_possible_ranged_orb, and not do it if graphics not on

This commit is contained in:
Zeno Rogue committed 2026-09-17 09:37:51 +02:00
1 parent 3d19e4ca49
commit 7f6ef5e8f6
1 file changed
+5
+5
View File
@@ -1535,7 +1535,12 @@ EX void drawthemap() {
}
}
mark_possible_ranged_orb();
}
EX void mark_possible_ranged_orb() {
#if CAP_SDL
if(!graphics_on) return;
const sdl_keystate_type *keystate = SDL12_GetKeyState(NULL);
lmouseover = mouseover;
lmouseover_distant = lmouseover;