[Freeciv-Dev] (PR#6872) Replace int with enum impr_range
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
<URL: http://rt.freeciv.org/Ticket/Display.html?id=6872 >
See $SUBJECT.
Raimar
--
email: rf13@xxxxxxxxxxxxxxxxx
"Reality? That's where the pizza delivery guy comes from!"
Index: common/improvement.c
===================================================================
RCS file: /home/freeciv/CVS/freeciv/common/improvement.c,v
retrieving revision 1.34
diff -u -u -r1.34 improvement.c
--- common/improvement.c 2003/11/13 19:41:09 1.34
+++ common/improvement.c 2003/11/15 17:04:33
@@ -219,7 +219,8 @@
struct city *pcity,
struct player *pplayer)
{
- int i, cont = 0;
+ int cont = 0;
+ enum impr_range i;
for (i = IR_NONE; i < IR_LAST; i++) {
equiv_list[i] = NULL;
@@ -249,7 +250,7 @@
bool improvement_redundant(struct player *pplayer,struct city *pcity,
Impr_Type_id id, bool want_to_build)
{
- int i;
+ enum impr_range i;
Impr_Status *equiv_list[IR_LAST];
Impr_Type_id *ept;
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Freeciv-Dev] (PR#6872) Replace int with enum impr_range,
Raimar Falke <=
|
|