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

Method skipTrajectory

src/Battlescape/Projectile.cpp:399–402  ·  view source on GitHub ↗

* Skips to the end of the trajectory. */

Source from the content-addressed store, hash-verified

397 * Skips to the end of the trajectory.
398 */
399void Projectile::skipTrajectory()
400{
401 _position = _trajectory.size() - 1;
402}
403
404/**
405 * Gets the Position of origin for the projectile

Callers 2

thinkMethod · 0.80
cancelMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected