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

Method getWeight

game/state/shared/aequipment.cpp:254–257  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

252}
253
254int AEquipment::getWeight() const
255{
256 return type->weight + ((payloadType && ammo > 0) ? payloadType->weight : 0);
257}
258
259int AEquipment::getFireCost(WeaponAimingMode fireMode)
260{

Callers 1

updateSpeedMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected