forked from github/server
Flucht-Fix
This commit is contained in:
parent
13ac642ce8
commit
773f2f33da
|
@ -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;
|
||||||
|
|
Loading…
Reference in New Issue