[Freeciv-Dev] (PR#11846) struct tile doesn't comment 'city' field
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
<URL: http://bugs.freeciv.org/Ticket/Display.html?id=11846 >
> The city that is on the tile, or NULL if there's none. Out of
> curiosity, what else could it mean?
To prevent any further discussion I made and will commit the following
patch.
Glip
Index: common/map.h
===================================================================
RCS file: /home/freeciv/CVS/freeciv/common/map.h,v
retrieving revision 1.231
diff -u -r1.231 map.h
--- common/map.h 7 Dec 2004 18:24:23 -0000 1.231
+++ common/map.h 9 Jan 2005 18:38:00 -0000
@@ -42,7 +42,7 @@
const int index; /* Index coordinate of the tile. */
Terrain_type_id terrain;
enum tile_special_type special;
- struct city *city;
+ struct city *city; /* city standing on the tile, NULL if none */
struct unit_list units;
unsigned int known; /* A bitvector on the server side, an
enum known_type on the client side.
|
|