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

Method updateGeoscapeStats

src/Savegame/BattleUnit.cpp:1890–1894  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1888}
1889
1890void BattleUnit::updateGeoscapeStats(Soldier *soldier)
1891{
1892 soldier->addMissionCount();
1893 soldier->addKillCount(_kills);
1894}
1895
1896/**
1897 * Check if unit eligible for squaddie promotion. If yes, promote the unit.

Callers 1

prepareDebriefingMethod · 0.80

Calls 2

addMissionCountMethod · 0.80
addKillCountMethod · 0.45

Tested by

no test coverage detected