]> git.pond.sub.org Git - empserver/commit
edit: Report unit loss and gain properly for unit key 'O'
authorMarkus Armbruster <armbru@pond.sub.org>
Sun, 27 Jan 2013 14:37:51 +0000 (15:37 +0100)
committerMarkus Armbruster <armbru@pond.sub.org>
Thu, 6 Jun 2013 17:55:02 +0000 (19:55 +0200)
commitccd436867915702890ea9340ddf1bd93b818d8e9
tree7d392aa67e32023541820aef9792053fcb72c45d
parent6e260f7f5ea17d0b05380ed00d4f166440c24494
edit: Report unit loss and gain properly for unit key 'O'

Print a message describing the actual change.  Necessary to give the
deity a chance to catch unexpected changes, e.g. a player boarding a
ship right before the deity edits it.  Watching out for such changes
is especially important with non-interactive edit.

Code already sends bulletins.  Also report news.

Signed-off-by: Markus Armbruster <armbru@pond.sub.org>
src/lib/commands/edit.c
tests/actofgod/actofgod.xdump
tests/actofgod/journal.log