(multifire): Retreat when helpless used RET_INJURED instead of

RET_HELPLESS.  Closes #1146364.
This commit is contained in:
Markus Armbruster 2006-03-28 06:22:48 +00:00
parent 5663713be9
commit 8065fe84e4

View file

@ -623,7 +623,7 @@ multifire(void)
break; break;
} }
if ((totaldefdam == 0) && (target == targ_ship)) if ((totaldefdam == 0) && (target == targ_ship))
if (vship.shp_rflags & RET_INJURED) if (vship.shp_rflags & RET_HELPLESS)
retreat_ship(&vship, 'h'); retreat_ship(&vship, 'h');
switch (attacker) { switch (attacker) {
case targ_land: case targ_land: