MCPcopy Create free account
hub / github.com/assaultcube/AC / storeposition

Function storeposition

source/src/editing.cpp:379–384  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

377}
378
379void storeposition(short p[])
380{
381 loopi(3) p[i] = player1->o.v[i] * DMF;
382 p[3] = player1->yaw;
383 p[4] = player1->pitch;
384}
385
386void makeundo(block &sel)
387{

Callers 3

setvantagepointFunction · 0.85
xmapMethod · 0.85
makeundoFunction · 0.85

Calls 1

loopiFunction · 0.70

Tested by

no test coverage detected