You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If the screen is bigger than the map, then some parts of the map can appear on the screen multiple times. When this happens, the terrain is rendered correctly, but units and buildings are only drawn once.
Everything should be drawn as many times as it appears on the screen: terrain, units, buildings, target lines, etc.
The text was updated successfully, but these errors were encountered:
This happens because as buildings and units can span multiple tiles on the map, they are first put to a set, and then drawn once. A fix to this issue would be to check whether the screen is bigger than the whole map, and then draw multiple times.
The locations to implement the corrections can be found from Game::drawMap which starts at src/Game.cpp:2807.
Globulation 2 - 0.9.4.4
If the screen is bigger than the map, then some parts of the map can appear on the screen multiple times. When this happens, the terrain is rendered correctly, but units and buildings are only drawn once.
Everything should be drawn as many times as it appears on the screen: terrain, units, buildings, target lines, etc.
The text was updated successfully, but these errors were encountered: