[Freeciv-Dev] (PR#8975) Bug: cm clear_cache() called before build_cache3
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
<URL: http://rt.freeciv.org/Ticket/Display.html?id=8975 >
> [jdorje - Mon Jun 14 03:51:37 2004]:
> Well this is ugly. It assumes that if MAX_FIELDS_USED is 0 then there
> is at least 1 item in the list. That is, 0 means the set of {0}, with 1
> element in it.
If MAX_FIELDS_USED == 0, then you can *still* use the tile the city is built
on. That is, we
need be able to represent using 0 workers.
Really, MAX_FIELDS_USED should not be a constant or constant-like thing, but
part of
tile_stats or cache3.
By the way, clear_cache should often be called before build_cache3, so that's
not a bug. It's a
bug if we crash on it.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Freeciv-Dev] (PR#8975) Bug: cm clear_cache() called before build_cache3(),
Benoit Hudson <=
|
|