]> git.pond.sub.org Git - empserver/commit
assault: Handle the "only spies" special case earlier
authorMarkus Armbruster <armbru@pond.sub.org>
Sun, 24 Jul 2016 06:03:35 +0000 (08:03 +0200)
committerMarkus Armbruster <armbru@pond.sub.org>
Sun, 6 Aug 2017 18:09:18 +0000 (20:09 +0200)
commit9b97d68bb36dbbc52fcb90eff76caeedc14bd440
tree73634a81014004e6a5d540d93aa81fc4ebabb93d
parent9f851c9f03900b946e77462aad34f7d903fec5d1
assault: Handle the "only spies" special case earlier

Since the previous commit, sneak_ashore() doesn't depend on a previous
get_oland() anymore, so the att_get_offense() is unnecessarily.  Move
it across att_get_offense() next to the other special case "assault
own sector".

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