Complete.Org: Mailing Lists: Archives: freeciv-dev: February 2001:
[Freeciv-Dev] [Update] game_info packet fix
Home

[Freeciv-Dev] [Update] game_info packet fix

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: freeciv-dev@xxxxxxxxxxx
Subject: [Freeciv-Dev] [Update] game_info packet fix
From: "Mike Jing" <miky40@xxxxxxxxxxx>
Date: Wed, 14 Feb 2001 18:17:20 -0500
Reply-to: mike_jing@xxxxxxxxx

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

Attachment: game_info_fix.diff
Description: Binary data


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