Re: [Freeciv-Dev] Bug in savegame loading?
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
David Pfitzner wrote:
> I'm not sure whether unitfunc.c:diplomat_bribe() should
> call unit_bribe_cost() to get an up-to-date value and in case
> the client didn't do the right things above. The reason possibly
> not is that then the client may spend a different amount that the
> player clicked 'ok' to...
Possibly compare the old value (in the unit struct) to
a newly calculated value, and re-send a PACKET_INCITE_COST
if different (to popup a new confirmation with the new
cost).
-- David "I can carry on a thread all by myself"
|
|