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

Method setAccuracy

src/Savegame/CraftWeaponProjectile.cpp:202–205  ·  view source on GitHub ↗

* Sets the accuracy of the projectile. */

Source from the content-addressed store, hash-verified

200 * Sets the accuracy of the projectile.
201 */
202void CraftWeaponProjectile::setAccuracy(const int &accuracy)
203{
204 _accuracy = accuracy;
205}
206
207/*
208 * Gets the accuracy of the projectile.

Callers 2

fireMethod · 0.80
ufoFireWeaponMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected