1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-12-18 15:00:26 +00:00

yendor:: removed break when looking for keycell -- the furthest cell is selected by default now

This commit is contained in:
Zeno Rogue 2019-08-02 17:55:16 +02:00
parent a50725b3b7
commit 96e160df78

View File

@ -6861,7 +6861,6 @@ void drawMarkers() {
for(i=0; i<YDIST; i++) for(i=0; i<YDIST; i++)
if(yi[yii].path[i]->cpdist <= get_sightrange_ambush()) { if(yi[yii].path[i]->cpdist <= get_sightrange_ambush()) {
keycell = yi[yii].path[i]; keycell = yi[yii].path[i];
break;
} }
if(keycell) { if(keycell) {
for(; i<YDIST; i++) { for(; i<YDIST; i++) {