]> git.pond.sub.org Git - empserver/commit
edit: Report loading/unloading of planes & land units properly
authorMarkus Armbruster <armbru@pond.sub.org>
Sun, 3 Feb 2013 12:28:26 +0000 (13:28 +0100)
committerMarkus Armbruster <armbru@pond.sub.org>
Thu, 6 Jun 2013 17:55:02 +0000 (19:55 +0200)
commitcbe9897bfaa03af345e12ac14acb77b7c670aa30
tree4dd33fe1e90db15fd06f03fd3b286073405e4681
parent97b3aacacadf840ff7b59b3f21f42e6d585e6c19
edit: Report loading/unloading of planes & land units properly

Print a message, send bulletin to owner.  Affects plane keys 's', 'y',
and land unit keys 'S', 'Y'.  The message is necessary to give the
deity a chance to catch unexpected changes, e.g. a player loading a
plane right before the deity edits it.  Watching out for such changes
is especially important with non-interactive edit.

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