]> git.pond.sub.org Git - empserver/commit
sonar: Drop a redundant putship()
authorMarkus Armbruster <armbru@pond.sub.org>
Mon, 12 Jan 2015 21:13:36 +0000 (22:13 +0100)
committerMarkus Armbruster <armbru@pond.sub.org>
Mon, 2 Mar 2015 07:20:51 +0000 (08:20 +0100)
commit32b611eb8da85a30d00b7ef040bc5ebf85ae8ac9
tree0ce5b44b485feddef8097b7beabbe910f7e5ecc2
parentfff476ac4b958cbfecf4690590df9fa8a9db21c0
sonar: Drop a redundant putship()

The old retreat_ship() took care not to put its ship argument (it
still put other ships in a group retreat).  Callers put it
unconditionally to make the change to the ship permanent.

The current retreat code puts all ships it changes, rendering sona()'s
putship() redundant.  Drop it.

Signed-off-by: Markus Armbruster <armbru@pond.sub.org>
src/lib/commands/sona.c