Opened 8 years ago
Last modified 5 years ago
#4070 new defect
Update fog of war immediately when joining a paused game or changing the perspective
Reported by: | elexis | Owned by: | |
---|---|---|---|
Priority: | Must Have | Milestone: | Backlog |
Component: | UI – In-game | Keywords: | |
Cc: | Imarok, echotangoecho | Patch: |
Description (last modified by )
The fog of war is only updated when a turn is processed. This means after changing the perspective, the observer has to wait a bit until the fog of war of the selected player is displayed.
When rejoining a paused game and when changing the perspective if it's paused doesn't update the fog of war until it's unpaused. This would be especially important for #4009.
See SetViewedPlayerID
of Game.cpp
.
Change History (4)
comment:1 by , 8 years ago
Cc: | added |
---|---|
Priority: | Should Have → Must Have |
Summary: | Update fog of war immediately when changing the perspective → Update fog of war immediately when joining a paused game or changing the perspective |
comment:2 by , 8 years ago
comment:3 by , 7 years ago
Description: | modified (diff) |
---|
A seemingly good way to test this is starting a replay with multiple players and a non-revealed map without any turns in it.
comment:4 by , 5 years ago
Component: | UI & Simulation → In-game UI |
---|
Move tickets to In-game UI
as UI & Simulation
got some sub components.
Note:
See TracTickets
for help on using tickets.
This fixes the fog of war but not the displaying of units and silhouettes.
Tried setting
m_GlobalVisibilityUpdate
to false and callingUpdateVisibilityData
of theRangeManager
, but that wasn't it.