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

Method getDeath

src/Savegame/Soldier.cpp:548–551  ·  view source on GitHub ↗

* Returns the soldier's death details. * @return Pointer to death data. NULL if no death has occured. */

Source from the content-addressed store, hash-verified

546 * @return Pointer to death data. NULL if no death has occured.
547 */
548SoldierDeath *Soldier::getDeath() const
549{
550 return _death;
551}
552
553/**
554 * Kills the soldier in the Geoscape.

Callers 1

SoldierMemorialStateMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected