MCPcopy Create free account
hub / github.com/OpenXcom/OpenXcom / clearVisibleUnits

Method clearVisibleUnits

src/Savegame/BattleUnit.cpp:1242–1245  ·  view source on GitHub ↗

* Clear visible units. */

Source from the content-addressed store, hash-verified

1240 * Clear visible units.
1241 */
1242void BattleUnit::clearVisibleUnits()
1243{
1244 _visibleUnits.clear();
1245}
1246
1247/**
1248 * Add this unit to the list of visible tiles. Returns true if this is a new one.

Callers 2

calculateFOVMethod · 0.80
UnitDieBStateMethod · 0.80

Calls 1

clearMethod · 0.45

Tested by

no test coverage detected