Opened 9 years ago

Last modified 9 years ago

#3378 closed defect

Crash on rejoin (percentage of map controlled) — at Initial Version

Reported by: elexis Owned by:
Priority: Release Blocker Milestone: Alpha 19
Component: Core engine Keywords: patch
Cc: Itms Patch:

Description

If you start a multiplayergame on the skirmish map "Northern Island (2)" or "Neareastern Badlands (4)" and then rejoin with the other client, you get this crash:

CCmpTerritoryManager.cpp(538): Assertion failed: "m_TerritoryTotalPassableCellCount > 0"
Assertion failed: "m_TerritoryTotalPassableCellCount > 0"
Location: CCmpTerritoryManager.cpp:538 (GetTerritoryPercentage)

Refs #3321 r16933

That commit initially sets m_TerritoryTotalPassableCellCount = 0; but requires ENSURE(m_TerritoryTotalPassableCellCount > 0); in the according line.

Sounds like that value should either be serialized or computed again when rejoining.

Change History (0)

Note: See TracTickets for help on using tickets.