forked from github/server
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:
parent
1d398a46fb
commit
01742536e8
|
@ -2458,8 +2458,11 @@ aftermath(battle * b)
|
|||
snumber += du->number;
|
||||
#ifdef SIMPLE_COMBAT
|
||||
if (relevant) {
|
||||
/* didn't have any help from the guards, so combat is long */
|
||||
fset(du, UFL_NOTMOVING|UFL_LONGACTION);
|
||||
int flags = UFL_LONGACTION|UFL_NOTMOVING;
|
||||
#ifdef SIMPLE_ESCAPE
|
||||
if (du->status==ST_FLEE) flags -= UFL_NOTMOVING;
|
||||
#endif /* SIMPLE_ESCAPE */
|
||||
fset(du, flags);
|
||||
}
|
||||
if (sum_hp<du->hp) {
|
||||
/* someone on the ship got damaged, damage the ship */
|
||||
|
|
Loading…
Reference in New Issue