Ticket #1499 (closed defect: fixed)

Opened 12 months ago

Last modified 12 months ago

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

comment:1 Changed 12 months ago by ben

  • Status changed from new to closed
  • Resolution set to fixed

In 11973:

Fixes error in actor viewer caused by r11949. Fixes #1499

Note: See TracTickets for help on using tickets.