]> git.pond.sub.org Git - empserver/commit
navigate march: Fix abort not to wipe out concurrent updates
authorMarkus Armbruster <armbru@pond.sub.org>
Sun, 29 Nov 2015 10:30:45 +0000 (11:30 +0100)
committerMarkus Armbruster <armbru@pond.sub.org>
Sat, 5 Dec 2015 12:19:39 +0000 (13:19 +0100)
commit42a3c10fd9f6842007dc150768d41634c620ebea
treeb1115ca7641ca5e43a6cdb005f897e96617bee24
parent354b6aea3dc7eb418b148f9501e4f8d57c327b90
navigate march: Fix abort not to wipe out concurrent updates

When the player aborts the command at the movement prompt, we write
back stale ships or land units, triggering a generation oops.  Any
updates made by other threads meanwhile are wiped out, triggering a
seqno mismatch oops.

Broken in commit 24000b4, v4.3.33.  Fix by restoring the lost
shp_nav_stay_behind() and lnd_mar_stay_behind() calls.

Signed-off-by: Markus Armbruster <armbru@pond.sub.org>
src/lib/subs/unitsub.c
tests/navi-march/server.log