MCPcopy Create free account
hub / github.com/OpenApoc/OpenApoc / removeScanner

Method removeScanner

game/state/battle/battle.cpp:1350–1354  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1348}
1349
1350void Battle::removeScanner(GameState &state, AEquipment &item)
1351{
1352 state.current_battle->scanners.erase(item.battleScanner.id);
1353 item.battleScanner.clear();
1354}
1355
1356void Battle::updateProjectiles(GameState &state, unsigned int ticks)
1357{

Callers 2

updateMethod · 0.80
useItemMethod · 0.80

Calls 1

clearMethod · 0.45

Tested by

no test coverage detected