]> git.pond.sub.org Git - empserver/commit - include/types.h
edit: Report flags change properly
authorMarkus Armbruster <armbru@pond.sub.org>
Sun, 3 Feb 2013 14:10:46 +0000 (15:10 +0100)
committerMarkus Armbruster <armbru@pond.sub.org>
Thu, 6 Jun 2013 17:55:02 +0000 (19:55 +0200)
commit4aa2f071ba525833954c53a7b8d88a1015bf193b
tree2a221195bb037196528e1ded220e9b24195800aa
parentef2e2d08a24f4e8e5c91fa53f4068c2985ef3d54
edit: Report flags change properly

Print a message, send bulletin to owner.  Affects ship key 'W', land
unit key 'W', and plane key 'f'.  The message is necessary to give the
deity a chance to catch unexpected changes, e.g. a player modifying
retreat conditions right before the deity edits them.  Watching out
for such changes is especially important with non-interactive edit.

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