Complete.Org: Mailing Lists: Archives: freeciv-dev: September 2001:
[Freeciv-Dev] Re: [PATCH] Cleaned up magic code in gotohand.c (PR#944)
Home

[Freeciv-Dev] Re: [PATCH] Cleaned up magic code in gotohand.c (PR#944)

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: jdorje@xxxxxxxxxxxxxxxxxxxxx
Cc: freeciv-dev@xxxxxxxxxxx, bugs@xxxxxxxxxxxxxxxxxxx
Subject: [Freeciv-Dev] Re: [PATCH] Cleaned up magic code in gotohand.c (PR#944)
From: Raimar Falke <hawk@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Sun, 9 Sep 2001 09:14:44 +0200
Reply-to: rf13@xxxxxxxxxxxxxxxxxxxxxx

On Sat, Sep 08, 2001 at 09:15:16PM -0700, jdorje@xxxxxxxxxxxxxxxxxxxxx wrote:
> This tiny patch simply replaces the magic numbers for directions in
> gotohand.c (dir_ok/straightest_direction) with the enumeration values.
> 
> I haven't fixed the bug in straightest_direction, but I made a comment
> about it.  Once this goes through I'll provide a patch to fix it (or I
> can provide the patch now, but the two issues are separate).
> 
> This shouldn't be at all controversial (unless I substituted the numbers
> wrong :-).

See no problems with this. Ross?

        Raimar

-- 
 email: rf13@xxxxxxxxxxxxxxxxx
  Living on earth may be expensive, but it includes an annual free trip
  around the sun.


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