Complete.Org: Mailing Lists: Archives: freeciv-dev: November 2001:
[Freeciv-Dev] Re: Natural City Names (PR#1059)
Home

[Freeciv-Dev] Re: Natural City Names (PR#1059)

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: <rf13@xxxxxxxxxxxxxxxxxxxxxx>
Cc: FreeCiv Developers <freeciv-dev@xxxxxxxxxxx>, <bugs@xxxxxxxxxxxxxxxxxxx>
Subject: [Freeciv-Dev] Re: Natural City Names (PR#1059)
From: Cameron Morland <cjmorlan@xxxxxxxxxxxx>
Date: Sun, 11 Nov 2001 12:41:22 -0500 (EST)
Reply-to: <cameron@xxxxxxxxxx>

La 2001-11-11, rf13@xxxxxxxxxxxxxxxxxxxxxx skribis:

> >    int i, j;
> >    static char tempname[MAX_LEN_NAME];
> > +  int type;
>
> Change int to enum tile_terrain_type.

Done.

> > +  if(is_real_tile(x, y)) {
>
> Make it an assert.

Done.

> > +  int type;
>
> Same.

Done.

I applied the modified patch and it seems to work.

+----------------------------------------------------------
| PGP http://www.eng.uwaterloo.ca/student/cjmorlan/pgp.txt
| cjmorland@xxxxxxxxxxxx
|
| Whenever there is a conflict between human rights
| and property rights, human rights must prevail.
|     --Abraham Lincoln
+----------------------------------------------------------

Attachment: natural_citynames-code.diff
Description: Text document


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