Opened 8 years ago
Closed 8 years ago
#3850 closed defect (fixed)
Entity selection rectangle needs to take fog-of-war into account for observers
Reported by: | elexis | Owned by: | elexis |
---|---|---|---|
Priority: | Should Have | Milestone: | Alpha 21 |
Component: | UI & Simulation | Keywords: | |
Cc: | Patch: |
Description
Since #3168 observers can change the perspective of different players, showing the fog-of-war of that specific player.
But when selecting entities with the mouse cursor, the fog-of-war is not taken into account. (Same goes for the statusbar-hotkey). This means the according needs to use g_ViewedPlayer
instead of Engine.GetPlayerID()
in some JS part, or GetCurrentDisplayedPlayer()
in some C++ part.
Change History (5)
comment:1 by , 8 years ago
comment:2 by , 8 years ago
Milestone: | Backlog → Alpha 21 |
---|
Mostly fixed, but two more minor things could be improved:
- Keeping tab pressed while changing the perspective keeps the status bars
- Selecting an entity then changing the perspective keeps the entity selected, even if i'ts in FoW.
comment:3 by , 8 years ago
The rest seems to be identical to #3999, GetSimState
and others will probably have to be updated to use the viewed player as well.
Note:
See TracTickets
for help on using tickets.
In 18223: