Ausgabefehler Kampfreihen

This commit is contained in:
Enno Rehling 2006-04-15 22:34:03 +00:00
parent 34fce9b8a7
commit 85efcd6511
1 changed files with 7 additions and 4 deletions

View File

@ -2656,18 +2656,21 @@ 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);
message_all(b, m);
msg_release(m);
if (m==NULL) {
m = msg_message("battle::row_header", "row", unitrow);
message_all(b, m);
}
battle_punit(du, b);
}
battle_punit(du, b);
}
if (m!=NULL) msg_release(m);
}
}