bow:: fixed the geometric crossbow not hitting monsters inside walls

This commit is contained in:
Zeno Rogue 2023-12-27 10:45:24 +01:00
parent 3da65f4cd5
commit dbc51d2f94
1 changed files with 1 additions and 1 deletions

View File

@ -193,9 +193,9 @@ EX vector<int> create_dirseq_geometric() {
if(best_i < 0) break;
at = at + best_i;
int bonus = bolt_score(at + wstep);
if(bonus < 0) break;
best_score_res += bonus;
dirseq.push_back(best_i);
if(bonus < 0) break;
T = T * currentmap->adj(at.at, at.spin);
at = at + wstep;
}