Complete.Org: Mailing Lists: Archives: freeciv-dev: March 1999:
Re: [Freeciv-Dev] Bug in savegame loading?
Home

Re: [Freeciv-Dev] Bug in savegame loading?

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: freeciv-dev@xxxxxxxxxxx
Subject: Re: [Freeciv-Dev] Bug in savegame loading?
From: David Pfitzner <dwp@xxxxxxxxxxxxxx>
Date: Thu, 11 Mar 1999 22:43:43 +1100

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"

[Prev in Thread] Current Thread [Next in Thread]