1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2026-01-09 12:59:03 +00:00

Stop Outlaws from shooting themselves when Orb of Discord is active

This commit is contained in:
Joseph C. Sible
2025-09-06 20:43:15 -04:00
parent 7c0d2649e3
commit c1711d5d7a
2 changed files with 11 additions and 0 deletions

View File

@@ -1194,6 +1194,7 @@ EX vector<cell*> gun_targets(cell *c) {
if(passable(c2, c1, P_BULLET | P_FLYING | P_MONSTER))
if(cl.add(c2)) dists.push_back(dists[i] + 1);
}
cl.remove(c);
return cl.lst;
}