forked from github/server
Ausgabefehler Kampfreihen
This commit is contained in:
parent
34fce9b8a7
commit
85efcd6511
|
@ -2656,19 +2656,22 @@ print_fighters(battle * b, const side * s)
|
|||
|
||||
for (row=1;row!=NUMROWS;++row) {
|
||||
int unitrow = get_row(s, row);
|
||||
message * m = NULL;
|
||||
|
||||
for (df=s->fighters; df; df=df->next) {
|
||||
unit *du = df->unit;
|
||||
int thisrow = statusrow(df->unit->status);
|
||||
|
||||
if (row == thisrow) {
|
||||
message * m = msg_message("battle::row_header", "row", unitrow);
|
||||
if (m==NULL) {
|
||||
m = msg_message("battle::row_header", "row", unitrow);
|
||||
message_all(b, m);
|
||||
msg_release(m);
|
||||
}
|
||||
battle_punit(du, b);
|
||||
}
|
||||
}
|
||||
if (m!=NULL) msg_release(m);
|
||||
}
|
||||
}
|
||||
|
||||
boolean
|
||||
|
|
Loading…
Reference in New Issue