[Freeciv-Dev] main map workers: bugfix and feature
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
I thought that it would make adjusting workers from the main map easier if
you could see the production values for each tile (just like in the city
dialog). And it's easy to add: just a single function call in
put_city_workers(). So, this patch does it.
However, during testing I found a small bug. If a city was on one side of
the zero/maximum-x divide, and the tile you shift-clicked on was on the
other side, then nothing would happen. This is because adjust_workers()
did its own conversion from map to city coordinates, rather than using
map_to_city_[xy](), and it was flawed. So, this patch fixes it.
main-map-workers-0.diff.gz
Description: Binary data
jjm
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Freeciv-Dev] main map workers: bugfix and feature,
Jeff Mallatt <=
|
|