define SIMPLE_ESCAPE to allow units with ST_FLEE a MOVE order, but no other long orders (step II of new rules)

This commit is contained in:
Enno Rehling 2007-02-10 11:58:54 +00:00
parent 1d398a46fb
commit 01742536e8
1 changed files with 5 additions and 2 deletions

View File

@ -2458,8 +2458,11 @@ aftermath(battle * b)
snumber += du->number; snumber += du->number;
#ifdef SIMPLE_COMBAT #ifdef SIMPLE_COMBAT
if (relevant) { if (relevant) {
/* didn't have any help from the guards, so combat is long */ int flags = UFL_LONGACTION|UFL_NOTMOVING;
fset(du, UFL_NOTMOVING|UFL_LONGACTION); #ifdef SIMPLE_ESCAPE
if (du->status==ST_FLEE) flags -= UFL_NOTMOVING;
#endif /* SIMPLE_ESCAPE */
fset(du, flags);
} }
if (sum_hp<du->hp) { if (sum_hp<du->hp) {
/* someone on the ship got damaged, damage the ship */ /* someone on the ship got damaged, damage the ship */