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

Method needsReload

game/state/shared/aequipment.cpp:917–920  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

915};
916
917bool AEquipment::needsReload() const
918{
919 return type->type == AEquipmentType::Type::Weapon && ammo == 0 && !type->ammo_types.empty();
920}
921
922// Alexey Andronov: Istrebitel
923// Made up values calculated by trying several throws in game

Callers 2

updateAttackingMethod · 0.80
routineMethod · 0.80

Calls 1

emptyMethod · 0.80

Tested by

no test coverage detected