Just pushed to SVN (4300):
Hopefully this should fix crashes due to switching to cities off the viewport in some contexts. It should also fix incorrect plot highlighting as the selected city changes. The only fly in the ointment (that I am aware of at least), is that if the city screen is up I have to now close it for the viewport shift then re-open it once it's shifted. This all happens automatically, but it's slightly disconcerting because when you use the selection arrows inside the city screen what you see is the city screen going away, then a pause, then the viewport focuses on the next city, then another pause, then the city screen re-opens on the new city. I cannot do anything about the pauses and transient disappearance of the city screen however, within the confines of the Civ4 graphics engine.
- Fixes to city selection with viewports active
Hopefully this should fix crashes due to switching to cities off the viewport in some contexts. It should also fix incorrect plot highlighting as the selected city changes. The only fly in the ointment (that I am aware of at least), is that if the city screen is up I have to now close it for the viewport shift then re-open it once it's shifted. This all happens automatically, but it's slightly disconcerting because when you use the selection arrows inside the city screen what you see is the city screen going away, then a pause, then the viewport focuses on the next city, then another pause, then the city screen re-opens on the new city. I cannot do anything about the pauses and transient disappearance of the city screen however, within the confines of the Civ4 graphics engine.