1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-01-12 02:10:34 +00:00

bow:: fix shooting bolts in blade mode

This commit is contained in:
Zeno Rogue 2023-12-02 21:10:11 +01:00
parent 39ddc3dc33
commit ac33354358

View File

@ -332,6 +332,7 @@ enum eMouseFireMode { mfmNone, mfmPriority, mfmAlways };
EX eMouseFireMode mouse_fire_mode = mfmPriority;
EX bool fire_on_mouse(cell *c) {
if(!crossbow_mode()) return false;
if(mouse_fire_mode == mfmNone) return false;
if(!mouseover) return false;
if(!mouseover->monst) return false;