Complete.Org: Mailing Lists: Archives: freeciv-dev: October 2001:
[Freeciv-Dev] [Patch] Cleanup of tile_move_cost_ai
Home

[Freeciv-Dev] [Patch] Cleanup of tile_move_cost_ai

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: freeciv development list <freeciv-dev@xxxxxxxxxxx>
Subject: [Freeciv-Dev] [Patch] Cleanup of tile_move_cost_ai
From: Raimar Falke <hawk@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Sun, 7 Oct 2001 13:49:22 +0200
Reply-to: rf13@xxxxxxxxxxxxxxxxxxxxxx

I thought about using the move_cost field of struct tile for the goto
agent. However I had hard time to understand tile_move_cost_ai and the
(to me mysterious) -3. The attached patch should allow others not the
fall into this.

It doesn't change any behavior. Well at least I hope so ;)

        Raimar

-- 
 email: rf13@xxxxxxxxxxxxxxxxx
 "That's fundamental game play!  My main enemy is *ALWAYS* fighting 
  a 4-front war.  I make sure of it!"
    -- Tony Stuckey, freeciv-dev

Attachment: tile_move_cost_ai1.diff
Description: Text document


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