reverting "fix"

This commit is contained in:
Steffen Mecke 2021-03-21 16:03:21 +01:00 committed by Enno Rehling
parent a713779f34
commit 807177cc68
1 changed files with 2 additions and 2 deletions

View File

@ -1425,7 +1425,7 @@ count_enemies(battle * b, const fighter * af, int minrow, int maxrow,
int sr = statusrow(af->status); int sr = statusrow(af->status);
side *as = af->side; side *as = af->side;
/*if (b->alive == b->fast.alive && as == b->fast.side && sr == b->fast.status if (b->alive == b->fast.alive && as == b->fast.side && sr == b->fast.status
&& minrow == b->fast.minrow && maxrow == b->fast.maxrow) { && minrow == b->fast.minrow && maxrow == b->fast.maxrow) {
if (b->fast.enemies[select] >= 0) { if (b->fast.enemies[select] >= 0) {
return b->fast.enemies[select]; return b->fast.enemies[select];
@ -1436,7 +1436,7 @@ count_enemies(battle * b, const fighter * af, int minrow, int maxrow,
} }
} }
} }
else*/ if (select != SELECT_FIND || b->alive != b->fast.alive) { else if (select != SELECT_FIND || b->alive != b->fast.alive) {
b->fast.side = as; b->fast.side = as;
b->fast.status = sr; b->fast.status = sr;
b->fast.minrow = minrow; b->fast.minrow = minrow;