Complete.Org: Mailing Lists: Archives: freeciv-dev: March 2003:
[Freeciv-Dev] (PR#3725) Unit blinking/movement corrupts displaying of ci
Home

[Freeciv-Dev] (PR#3725) Unit blinking/movement corrupts displaying of ci

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: daniel.martin@xxxxxxxxxxxx
Subject: [Freeciv-Dev] (PR#3725) Unit blinking/movement corrupts displaying of city descriptions
From: "Guest" <rt-guest@xxxxxxxxxxxxxx>
Date: Thu, 13 Mar 2003 07:49:42 -0800
Reply-to: rt@xxxxxxxxxxxxxx

When a unit blinks or moves on top of a city's influence area, the city
descriptions get erased (if that function is enabled, of course).

I tried with the sources, and I found that putting the following piece
of code apparently solves the problem, at the end of the function
'update_map_canvas', in /client/gui-gtk/mapview.c   (also works with
gui-gkt-2.0/mapview.c):

     ... function body...

     // Redraw city descriptions
     show_city_descriptions();

   } // End of 'update_map_canvas'

I don't know the code very much, so I cannot determine how optimum this
code is.

Regards,
  Dani.



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