Complete.Org: Mailing Lists: Archives: freeciv-dev: October 2001:
[Freeciv-Dev] Re: [Patch] Make do_unit_goto return a meaningful value (P
Home

[Freeciv-Dev] Re: [Patch] Make do_unit_goto return a meaningful value (P

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: Gregory Berkolaiko <gberkolaiko@xxxxxxxxxxx>
Cc: freeciv-dev@xxxxxxxxxxx, bugs@xxxxxxxxxxxxxxxxxxx
Subject: [Freeciv-Dev] Re: [Patch] Make do_unit_goto return a meaningful value (PR#985)
From: Raimar Falke <hawk@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Tue, 2 Oct 2001 09:42:22 +0200
Reply-to: rf13@xxxxxxxxxxxxxxxxxxxxxx

On Tue, Oct 02, 2001 at 02:34:47AM +0100, Gregory Berkolaiko wrote:
> This is updated version of the patch.
> I introduced another GOTO result: GR_FOUGHT, it is returned when unit was
> fighting and doesn't want to move after that.
> 
> The only "serious" change to the code is that I removed is_tiles_adjacent
> (what a grammatical structure) check in goto_route_execute
>   http://www.freeciv.org/lxr/source/server/unittools.c?v=cvs#L3095
> The same check is done in handle_unit_move_request, so nothing is lost
> here.  I moved the LOG_DEBUG message there.

Should I apply it?

        Raimar

-- 
 email: rf13@xxxxxxxxxxxxxxxxx
 "At the beginning of the week, we sealed ten BSD programmers
  into a computer room with a single distribution of BSD Unix.
  Upon opening the room after seven days, we found all ten programmers 
  dead, clutching each other's throats, and thirteen new flavors of BSD."


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