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

Method Sprites_HumanVehicles_Remove

Source/Fodder.cpp:5618–5626  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

5616}
5617
5618void cFodder::Sprites_HumanVehicles_Remove(sSprite* pSprite) {
5619
5620 auto it = remove_if(mSprites_HumanVehicles.begin(), mSprites_HumanVehicles.end(),
5621 [pSprite](sSprite* pSpriteFind) {
5622 return pSprite == pSpriteFind;
5623 });
5624
5625 mSprites_HumanVehicles.erase(it, mSprites_HumanVehicles.end());
5626}
5627
5628void cFodder::Sprite_Handle_Turret(sSprite* pSprite) {
5629 sSprite* Data28 = 0;

Callers

nothing calls this directly

Calls 3

eraseMethod · 0.80
beginMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected