]> git.pond.sub.org Git - empserver/commit
Fix command abortion after getting player input
authorMarkus Armbruster <armbru@pond.sub.org>
Tue, 15 Jul 2008 11:55:42 +0000 (07:55 -0400)
committerMarkus Armbruster <armbru@pond.sub.org>
Mon, 21 Jul 2008 11:19:18 +0000 (07:19 -0400)
commit9eda5f87b8a3ddb67c972b0545d97992328c379f
tree43fd4b1527fb137c573fe26d35ae1b7aa59a21db
parentb3a7a8ee11595aac2bd27f76b3adf9e4c48bb0eb
Fix command abortion after getting player input

The old code didn't honor command abortion at the following prompts:

* arm third argument

* deliver fourth argument (also simplify)

* fire third argument

* fly and recon prompt for carrier to land on: pln_onewaymission()
  treated abort like empty input, which made planes attempt landing in
  the sector.

* lmine second argument

* order d fourth argument

* power c nat(s) argument

* range second argument

* sail second argument

* shutdown both arguments (first one was broken in commit 84cfd670,
  v4.3.10, second one never worked).

* tend third argument
src/lib/commands/arm.c
src/lib/commands/deli.c
src/lib/commands/mfir.c
src/lib/commands/mine.c
src/lib/commands/orde.c
src/lib/commands/powe.c
src/lib/commands/rang.c
src/lib/commands/sail.c
src/lib/commands/shut.c
src/lib/commands/tend.c
src/lib/subs/plnsub.c