Fliehende Einheiten verlassen das Gebaeude nur, wenn ihr Kampfstatus auch auf FLIEHE steht.

This commit is contained in:
Enno Rehling 2007-02-14 17:54:04 +00:00
parent 5b910870e6
commit 994b5b5076
1 changed files with 3 additions and 1 deletions

View File

@ -2508,8 +2508,10 @@ aftermath(battle * b)
set_order(&du->thisorder, NULL); set_order(&du->thisorder, NULL);
setguard(du, GUARD_NONE); setguard(du, GUARD_NONE);
fset(du, UFL_LONGACTION); fset(du, UFL_LONGACTION);
#ifdef SIMPLE_ESCAPE
if (du->status<=ST_FLEE) leave(du->region, du);
#else
leave(du->region, du); leave(du->region, du);
#ifndef SIMPLE_ESCAPE
if (df->run.region) { if (df->run.region) {
run_to(du, df->run.region); run_to(du, df->run.region);
df->run.region = du->region; df->run.region = du->region;