[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]
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.
|
|