Ensure the update's production report isn't split by bulletins
authorMarkus Armbruster <armbru@pond.sub.org>
Sun, 20 Nov 2011 17:26:43 +0000 (18:26 +0100)
committerMarkus Armbruster <armbru@pond.sub.org>
Thu, 29 Dec 2011 10:47:06 +0000 (11:47 +0100)
commitd46b168663f01e572eaafc6cb6d81e98c78a1128
treecfa67563f76a9574be758b71774a6e19a7dc9138
parent9f9cbfb20cb7b78e8a00cec6451e7686343084fe
Ensure the update's production report isn't split by bulletins

During the update, wu() sends TEL_UPDATE telegrams ("Production
Report") instead of TEL_BULLETIN telegrams, but typed_wu() has no such
logic.  It's used by tele(), which doesn't run during the update, and
mpr(), which may, e.g. called from ship or mission code used by
autonav or sail.  This inserts bulletins in the middle of the
production report, splitting it apart.

Happens since mpr() was added in Empire 2.  Before, only tele() used
typed_wu() directly, and everything else wu().

Change mpr() to use wu().
src/lib/subs/pr.c