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

Method getSpawnUnit

src/Savegame/BattleUnit.cpp:2275–2278  ·  view source on GitHub ↗

* Get the unit that is spawned when this one dies. * @return unit. */

Source from the content-addressed store, hash-verified

2273 * @return unit.
2274 */
2275std::string BattleUnit::getSpawnUnit() const
2276{
2277 return _spawnUnit;
2278}
2279
2280/**
2281 * Set the unit that is spawned when this one dies.

Callers 1

BattleUnitMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected