[Freeciv-Dev] normalize_map_pos and invalid map positions
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
Ok, this is probably a stupid question, but anyway.
I take it the point of normalize_map_pos is to ensure the given map
positions don't point to an illegal point on the map that would case an
error.
However, sometimes, as with goto_dest_?, I believe the correct thing to do
is to make the positions illegal, so that they don't get used and if they
get used, an error is generated so that the problem can be fixed.
So what would be an illegal map position? (-1, -1)?
Yeah, I guess this question shows just how well I've been following the
gen topology discussion...
Yours
Per
- [Freeciv-Dev] normalize_map_pos and invalid map positions,
Per I. Mathisen <=
|
|