Complete.Org:
Mailing Lists:
Archives:
freeciv-dev:
February 2001: [Freeciv-Dev] [Update] game_info packet fix |
[Freeciv-Dev] [Update] game_info packet fix[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
This small patch adds precviously missing handling for unhappysize and cityfactor in the game_info packet, so that they are properly updated in the client. The reason for this small patch is that, although "unhappysize" and"cityfactor" are defined in the game_info packet, they are never properly updated on the client side because they are not included in the packet handling routines. Since I would like to display happiness related info in the Happiness display, I would need the correct value for these two parameters. So I simply added the missing lines in the packet handling routines. Note: this does *NOT* change the protocol because those two variables were already in the packet, but simply weren't given any value. Updated against latest CVS. Please apply ASAP. Mike _________________________________________________________________ Get your FREE download of MSN Explorer at http://explorer.msn.com
game_info_fix.diff
|