[Freeciv-Dev] [PATCH] Re: Short stupid question (PR#569)
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
Erik Sigra <freeciv@xxxxxxx> writes:
> In server/mapgen.c:
> Is the use of "*hmap(x, y)" equivalent to the use of "full_map(x, y)"?
That's not at all a stupid question. Answer: Yes (bet you're really
surprised now, eh? 8-) except that full_map() doesn't check if it
should normalise the x-coordinate, which I think is probably a bug
since there are lots of calls along the lines of full_map(x-1, y)
(well, not directly, but indirectly through e.g. make_dessert() etc.)
Here's a patch to clean up the mess:
hmap_fix.diff
Description: Text Data
--
Big Gaute (not to be confused with LG)
Somewhere in Tenafly, New Jersey, a chiropractor is viewing
``Leave it to Beaver''!
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Freeciv-Dev] [PATCH] Re: Short stupid question (PR#569),
Gaute B Strokkenes <=
|
|