Complete.Org: Mailing Lists: Archives: freeciv-dev: January 2002:
[Freeciv-Dev] Re: [PATCH] Map cleanups (PR#1208)
Home

[Freeciv-Dev] Re: [PATCH] Map cleanups (PR#1208)

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: freeciv-dev <freeciv-dev@xxxxxxxxxxx>
Subject: [Freeciv-Dev] Re: [PATCH] Map cleanups (PR#1208)
From: Jason Short <vze2zq63@xxxxxxxxxxx>
Date: Mon, 07 Jan 2002 05:23:46 -0500
Reply-to: jdorje@xxxxxxxxxxxx

jdorje@xxxxxxxxxxxxxxxxxxxxx wrote:


I do think SAFE_MAPSTEP is wrongly implemented. It needn't use nearest_real_pos but should instead do
  #define SAFE_MAPSTEP(x, y)
  {
    int _x = x, _y = y;
    if (!normalize_map_pos(&x, &y)) {
      x = _x;
      y = _y;
    }
  }

Oops - I forgot I snuck this in in the most recent tilespec fix. So scratch that idea :-).

jason




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