Opened 12 years ago

Closed 12 years ago

#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: Patch:

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 (1)

comment:1 by ben, 12 years ago

Resolution: fixed
Status: newclosed

In 11973:

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

Note: See TracTickets for help on using tickets.