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

Method getMorale

src/Savegame/BattleUnit.cpp:867–870  ·  view source on GitHub ↗

* Returns the soldier's amount of morale. * @return Morale. */

Source from the content-addressed store, hash-verified

865 * @return Morale.
866 */
867int BattleUnit::getMorale() const
868{
869 return _morale;
870}
871
872/**
873 * Do an amount of damage.

Callers 4

explosiveEfficacyMethod · 0.80
psiActionMethod · 0.80
updateSoldierInfoMethod · 0.80
initMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected