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

Function restoreposition

source/src/editing.cpp:395–401  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

393}
394
395void restoreposition(short p[])
396{
397 loopi(3) player1->o.v[i] = float(p[i]) / DMF;
398 player1->yaw = p[3];
399 player1->pitch = p[4];
400 player1->resetinterp();
401}
402
403void restoreposition(block &sel)
404{

Callers 4

gotovantagepointFunction · 0.85
restoreMethod · 0.85
editundoFunction · 0.85
editredoFunction · 0.85

Calls 5

resetselectionsFunction · 0.85
addselectionFunction · 0.85
checkselectionsFunction · 0.85
resetinterpMethod · 0.80
loopiFunction · 0.70

Tested by

no test coverage detected