<URL: http://bugs.freeciv.org/Ticket/Display.html?id=39730 >

Eliminated both city incite cost and unit bribe cost variables.  The
incite cost was never properly initialized in either the client or
server.  The bribe cost was -1 in the server and 0 in the client.

Pass them as a parameter instead.

The spy sabotage list seems to have been "lsend_" to the player's
connections (observers), potentially popping up dialogs at random
intervals.  The comments say "Only send back to the originating
connection, if there is one. (?)" -- but, the code didn't match.

Therefore, I've merged the 3 seemingly related behaviors into a
joint query packet on a single connection, which should facilitate it
being sent by either observers or actual players without interference.

Lightly tested as a spy.  Observers not tested.

Freeciv-dev mailing list

Reply via email to