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

Method setSpawnUnit

src/Savegame/BattleUnit.cpp:2284–2287  ·  view source on GitHub ↗

* Set the unit that is spawned when this one dies. * @param spawnUnit unit. */

Source from the content-addressed store, hash-verified

2282 * @param spawnUnit unit.
2283 */
2284void BattleUnit::setSpawnUnit(std::string spawnUnit)
2285{
2286 _spawnUnit = spawnUnit;
2287}
2288
2289/**
2290 * Get the units's rank string.

Callers 1

explodeMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected