mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-01-27 01:14:52 +00:00
bow:: fix shooting bolts in blade mode
This commit is contained in:
parent
39ddc3dc33
commit
ac33354358
@ -332,6 +332,7 @@ enum eMouseFireMode { mfmNone, mfmPriority, mfmAlways };
|
|||||||
EX eMouseFireMode mouse_fire_mode = mfmPriority;
|
EX eMouseFireMode mouse_fire_mode = mfmPriority;
|
||||||
|
|
||||||
EX bool fire_on_mouse(cell *c) {
|
EX bool fire_on_mouse(cell *c) {
|
||||||
|
if(!crossbow_mode()) return false;
|
||||||
if(mouse_fire_mode == mfmNone) return false;
|
if(mouse_fire_mode == mfmNone) return false;
|
||||||
if(!mouseover) return false;
|
if(!mouseover) return false;
|
||||||
if(!mouseover->monst) return false;
|
if(!mouseover->monst) return false;
|
||||||
|
Loading…
Reference in New Issue
Block a user