Flucht-Fix

This commit is contained in:
Enno Rehling 2002-10-27 07:59:43 +00:00
parent 13ac642ce8
commit 773f2f33da
1 changed files with 4 additions and 2 deletions

View File

@ -579,8 +579,10 @@ reportcasualties(battle * b, fighter * fig, int dead)
bfaction * bf; bfaction * bf;
if (fig->alive == fig->unit->number) if (fig->alive == fig->unit->number)
return; return;
if (fig->run.region == NULL) if (fig->run.region == NULL) {
fig->run.region = b->region; fig->run.region = fleeregion(fig->unit);
if (fig->run.region == NULL) fig->run.region = b->region;
}
fbattlerecord(fig->unit->faction, b->region, " "); fbattlerecord(fig->unit->faction, b->region, " ");
for (bf = b->factions;bf;bf=bf->next) { for (bf = b->factions;bf;bf=bf->next) {
faction * f = bf->faction; faction * f = bf->faction;