Simplify pin_bomb() aborting at "Bomb what" prompt
This commit is contained in:
parent
9eda5f87b8
commit
2fa522588a
1 changed files with 3 additions and 3 deletions
|
@ -221,9 +221,9 @@ pin_bomb(struct emp_qelem *list, struct sctstr *target)
|
|||
retry:
|
||||
p = getstring("Bomb what? (ship, plane, land unit, efficiency, commodities) ",
|
||||
buf);
|
||||
if (p == 0 || *p == 0) {
|
||||
if (player->aborted)
|
||||
if (!p)
|
||||
return;
|
||||
if (!*p) {
|
||||
bad++;
|
||||
if (bad > 2)
|
||||
return;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue