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

Method getAutoRange

src/Ruleset/RuleItem.cpp:735–738  ·  view source on GitHub ↗

* Gets the maximim effective range of this weapon for Auto Shot. * @return The maximum range. */

Source from the content-addressed store, hash-verified

733 * @return The maximum range.
734 */
735int RuleItem::getAutoRange() const
736{
737 return _autoRange;
738}
739
740/**
741 * Gets the minimum effective range of this weapon.

Callers 2

drawTerrainMethod · 0.80
applyAccuracyMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected