Complete.Org:
Mailing Lists:
Archives:
freeciv-dev:
March 2001: [Freeciv-Dev] map_adjust_x() |
[Freeciv-Dev] map_adjust_x()[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
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. -Thue
diff
|