mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-11-23 13:07:16 +00:00
bow:: do not auto-shoot friends
This commit is contained in:
parent
e72e0f90b5
commit
7798929629
@ -347,6 +347,7 @@ EX bool fire_on_mouse(cell *c) {
|
|||||||
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;
|
||||||
|
if(isFriendly(mouseover)) return false;
|
||||||
if(shmup::on) return false;
|
if(shmup::on) return false;
|
||||||
if(items[itCrossbow]) {
|
if(items[itCrossbow]) {
|
||||||
if(mouse_fire_mode == mfmAlways) {
|
if(mouse_fire_mode == mfmAlways) {
|
||||||
|
Loading…
Reference in New Issue
Block a user