]> git.pond.sub.org Git - empserver/commit
subs: Clean up convoluted logic in lnd_mar_one_sector()
authorMarkus Armbruster <armbru@pond.sub.org>
Sun, 28 Dec 2014 21:51:56 +0000 (22:51 +0100)
committerMarkus Armbruster <armbru@pond.sub.org>
Sat, 28 Feb 2015 15:13:15 +0000 (16:13 +0100)
commit4b83bb5ff41b55098afb4529af8fc276ff10967e
treeef0e02e04a81807779ec41367f21ae9ba9d6693b
parent777172c9cb43f113f63abd08094bdc85208a353c
subs: Clean up convoluted logic in lnd_mar_one_sector()

Handle "no movement" before the movement loop instead of relying on
the first iteration of the loop.

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