MCPcopy Create free account
hub / github.com/OpenXcom/OpenXcom / getMaxRange

Method getMaxRange

src/Ruleset/RuleItem.cpp:708–711  ·  view source on GitHub ↗

* Gets the maximum range of this weapon * @return The maximum range. */

Source from the content-addressed store, hash-verified

706 * @return The maximum range.
707 */
708int RuleItem::getMaxRange() const
709{
710 return _maxRange;
711}
712
713/**
714 * Gets the maximum effective range of this weapon when using Aimed Shot.

Callers 2

drawTerrainMethod · 0.80
initMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected