MCPcopy Create free account
hub / github.com/ValveSoftware/source-sdk-2013 / SetSpeed

Method SetSpeed

src/game/server/trains.cpp:1568–1622  ·  view source on GitHub ↗

----------------------------------------------------------------------------- Purpose: Sets the speed of the train to the given value in units per second. -----------------------------------------------------------------------------

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 2

ThinkMethod · 0.45
UpdateAutoTargetsMethod · 0.45

Calls 2

fabsFunction · 0.85
DevMsgFunction · 0.70

Tested by

no test coverage detected