Complete.Org: Mailing Lists: Archives: freeciv-dev: March 2001:
[Freeciv-Dev] map_adjust_x()

[Freeciv-Dev] map_adjust_x()

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: freeciv-dev@xxxxxxxxxxx
Subject: [Freeciv-Dev] map_adjust_x()
From: Thue <thue@xxxxxxx>
Date: Thu, 8 Mar 2001 21:07:01 +0100

Right now map_adjust_x only adjusts values in the range 
[-map.xsize;map.xsize*2], but values outside that range are possible as input 
(though rare).

So the correct thing to do is to use modulus.


Attachment: diff
Description: Text document

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