empserver/tests
Markus Armbruster 33497e4242 torpedo: Let torpedo hit land only when target is in range
Telling the player his torpedo "slams into land" can give a clue on
the direction to the target.  No good when the target is out of range,
because we shouldn't tell the player more than that then.

Screwed up in 4.2.2.  Fix by checking range before line of sight.

Signed-off-by: Markus Armbruster <armbru@pond.sub.org>
2015-03-02 08:20:52 +01:00
..
actofgod retreat lretreat edit xdump: Change "torped" to "torpedoed" 2015-03-02 08:20:49 +01:00
bridgefall sail: Remove option SAIL 2015-02-28 16:11:28 +01:00
build sail: Remove option SAIL 2015-02-28 16:11:28 +01:00
empdump xundump: Polish error messages 2015-02-01 16:53:00 +01:00
fairland sail: Remove option SAIL 2015-02-28 16:11:28 +01:00
files sail: Remove option SAIL 2015-02-28 16:11:28 +01:00
fire torpedo fire: Reveal sub hit by return fire or depth charge 2015-03-02 08:20:52 +01:00
info tests/info: New; checks info and code agree on commands 2014-01-06 20:50:06 +01:00
navi-march tests: Wean off deprecated retreat syntax 2015-03-02 08:20:49 +01:00
retreat torpedo fire: Reveal sub hit by return fire or depth charge 2015-03-02 08:20:52 +01:00
smoke assault attack paradrop: Fix inconsistent support formatting 2015-03-02 08:20:50 +01:00
torpedo torpedo: Let torpedo hit land only when target is in range 2015-03-02 08:20:52 +01:00
actofgod-test tests: Define and use some abbreviations 2015-02-01 16:52:59 +01:00
bridgefall-test tests: Define and use some abbreviations 2015-02-01 16:52:59 +01:00
build-test tests: Define and use some abbreviations 2015-02-01 16:52:59 +01:00
empdump-test tests/empdump: New; exercising the empdump utility 2015-02-01 16:52:59 +01:00
fairland-test tests/files tests/fairland: Check stderr and exit status 2015-02-01 16:52:59 +01:00
files-test tests/files tests/fairland: Check stderr and exit status 2015-02-01 16:52:59 +01:00
fire-test tests: Define and use some abbreviations 2015-02-01 16:52:59 +01:00
info-test tests: Define and use some abbreviations 2015-02-01 16:52:59 +01:00
navi-march-test navigate: Require all ships to start in the same sector 2015-02-28 16:13:14 +01:00
normalize.pl tests: Fix normalization of nat_timeused in prompt in journal 2014-01-19 10:09:16 +01:00
retreat-test tests/retreat: Cover trains 2015-03-02 08:20:48 +01:00
smoke-test tests: Define and use some abbreviations 2015-02-01 16:52:59 +01:00
test-common.sh tests: Normalize setup.journal.log and setup.server.log 2015-03-02 08:20:47 +01:00
torpedo-test tests/torpedo: New; exercises torpedo command 2015-03-02 08:20:52 +01:00