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

Method getPreviousOwner

src/Savegame/BattleItem.cpp:217–220  ·  view source on GitHub ↗

* Gets the item's previous owner. * @return Pointer to Battleunit. */

Source from the content-addressed store, hash-verified

215 * @return Pointer to Battleunit.
216 */
217BattleUnit *BattleItem::getPreviousOwner() const
218{
219 return _previousOwner;
220}
221
222/**
223 * Sets the item's owner.

Callers 3

explodeMethod · 0.80
endTurnMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected