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

Method Squad_Member_PhaseCount

Source/Fodder.cpp:2788–2796  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2786}
2787
2788void cFodder::Squad_Member_PhaseCount() {
2789
2790 for( auto& Troop : mGame_Data.mSoldiers_Allocated ) {
2791 if (Troop.mSprite == INVALID_SPRITE_PTR || Troop.mSprite == 0)
2792 continue;
2793
2794 ++Troop.mPhaseCount;
2795 }
2796}
2797
2798void cFodder::Sprite_Find_HumanVehicles() {
2799

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected