Ticket #1499 (closed defect: fixed)
Shared LOS causing error in actor viewer
| Reported by: | historic_bruno | Owned by: | historic_bruno |
|---|---|---|---|
| Priority: | Must Have | Milestone: | Alpha 11 |
| Component: | Core engine | Keywords: | |
| Cc: |
Description
Assertion failure introduced by [11949]:
Assertion failed: "it != m_SharedLosMasks.end()" Location: CCmpRangeManager.cpp:1032 (CCmpRangeManager::GetSharedLosMask)
The problem is actor viewer has a separate simulation with no map or player settings, so the shared LOS data doesn't get initialized.
Actor viewer does a full map reveal, so a potential fix is to replace GetSharedLosMask() with 0xFFFFFFFFu when constructing a CLosQuerier in the map revealed case. Anyway I don't see a point in calculating the LOS mask in that case, the player should see all LOS :)
Change History
Note: See
TracTickets for help on using
tickets.

In 11973: