Keep selector position relative to controller

This commit is contained in:
Simon 2022-03-11 23:09:21 +00:00
parent b5e1628dbf
commit 8939a4f959
1 changed files with 1 additions and 0 deletions

View File

@ -2070,6 +2070,7 @@ void CG_DrawHolsteredWeapons( void )
AngleVectors(holsterAngles, holsterForward, holsterRight, holsterUp);
VectorCopy(controllerOrigin, holsterOrigin);
VectorCopy(holsterOrigin, beamOrigin);
VectorMA(holsterOrigin, ((DIST*2.0f)*frac), holsterForward, holsterOrigin);
VectorCopy(holsterOrigin, selectorOrigin);