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

Method newMonth

src/Savegame/Region.cpp:113–121  ·  view source on GitHub ↗

* Store last month's counters, start new counters. */

Source from the content-addressed store, hash-verified

111 * Store last month's counters, start new counters.
112 */
113void Region::newMonth()
114{
115 _activityAlien.push_back(0);
116 _activityXcom.push_back(0);
117 if(_activityAlien.size() > 12)
118 _activityAlien.erase(_activityAlien.begin());
119 if(_activityXcom.size() > 12)
120 _activityXcom.erase(_activityXcom.begin());
121}
122}

Callers 1

calculateChangesMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected