MCPcopy Create free account
hub / github.com/OpenFodder/openfodder / Soldier_Clear

Method Soldier_Clear

Source/GameData.cpp:412–419  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

410}
411
412void sGameData::Soldier_Clear() {
413
414 for( auto& Troop : mSoldiers_Allocated) {
415
416 Troop.Clear();
417 Troop.mRecruitID = -1;
418 }
419}
420
421void sGameData::Soldier_Sort() {
422

Callers

nothing calls this directly

Calls 1

ClearMethod · 0.45

Tested by

no test coverage detected