]> git.pond.sub.org Git - empserver/commit
Clean up misuse of mpr() in shp_missile_defense()
authorMarkus Armbruster <armbru@pond.sub.org>
Sun, 6 Jun 2010 20:40:44 +0000 (22:40 +0200)
committerMarkus Armbruster <armbru@pond.sub.org>
Sun, 27 Jun 2010 16:28:07 +0000 (18:28 +0200)
commit47dd33698ce3c07cd7f09b2134644fe3314d214a
treeb3589812b100fc5f441309676ae17f5d7115cc59
parent4033a3be7d4c4279387ab84073d0815a518f3afc
Clean up misuse of mpr() in shp_missile_defense()

Don't use multiple calls of mpr() to print a single line, because that
creates a separate bulletin for each part.  The read command normally
merges the bulletins, but if the bulletins are more than five seconds
apart (clock jumped somehow), we get a bulletin header in the middle
of a line.

The mpr() misuse was introduced in Empire 2.
src/lib/subs/shpsub.c