Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
*/
399
void Projectile::skipTrajectory()
400
{
401
_position = _trajectory.size() - 1;
402
}
403
404
/**
405
* Gets the Position of origin for the projectile
Callers
2
think
Method · 0.80
cancel
Method · 0.80
Calls
no outgoing calls
Tested by
no test coverage detected