[Freeciv-Dev] [RFC] currently_building
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
currently_building in struct city is an int. However it should be
Impr_Type_id or Unit_Type_id depending on the the value of
is_building_unit. This is bad from the type checking point of view.
Solution 1: union
Solution 2: cid (see client/climisc.h)
Raimar
--
email: rf13@xxxxxxxxxxxxxxxxx
Tank: So what do you need? Besides a miracle.
Neo: Guns. Lots of guns.
-- From The Matrix
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Freeciv-Dev] [RFC] currently_building,
Raimar Falke <=
|
|