MCPcopy Create free account
hub / github.com/BohemiaInteractive/CWR / RemoveSection

Method RemoveSection

engine/Poseidon/UI/Controls/UIControlsExt.cpp:1772–1775  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1770 // stringtable entry); the dangling tag absorbs trailing markup but the sections
1771 // parsed so far still render. Warn rather than abort.
1772 if (item.context != HTMLNone || stack.Size() != 0)
1773 {
1774 LOG_WARN(UI, "Malformed briefing HTML '{}': unbalanced tags (context {}, {} open)", (const char*)_filename,
1775 (int)item.context, stack.Size());
1776 }
1777
1778 for (int i = 0; i < _sections.Size(); i++)

Callers 3

CreateWeaponsPageMethod · 0.80
CreateWeaponsPoolPageMethod · 0.80
UpdatePlanMethod · 0.80

Calls 1

DeleteMethod · 0.45

Tested by

no test coverage detected