mirror of
https://github.com/YGGverse/hlsdk-portable.git
synced 2025-03-13 05:51:19 +00:00
Fix typo.
This commit is contained in:
parent
e6b4edf758
commit
41a4bebe86
@ -2141,9 +2141,9 @@ void PM_LadderMove( physent_t *pLadder )
|
|||||||
if( pmove->cmd.buttons & IN_FORWARD )
|
if( pmove->cmd.buttons & IN_FORWARD )
|
||||||
fmove += flSpeed;
|
fmove += flSpeed;
|
||||||
if( pmove->cmd.buttons & IN_MOVELEFT )
|
if( pmove->cmd.buttons & IN_MOVELEFT )
|
||||||
fmove -= flSpeed;
|
smove -= flSpeed;
|
||||||
if( pmove->cmd.buttons & IN_MOVERIGHT )
|
if( pmove->cmd.buttons & IN_MOVERIGHT )
|
||||||
fmove += flSpeed;
|
smove += flSpeed;
|
||||||
|
|
||||||
forward = ( fmove * ( cos( pmove->cmd.viewangles[YAW] * ( M_PI / 180 ) ) ) ) - ( smove * ( sin( pmove->cmd.viewangles[YAW] * ( M_PI / 180 ) ) ) );
|
forward = ( fmove * ( cos( pmove->cmd.viewangles[YAW] * ( M_PI / 180 ) ) ) ) - ( smove * ( sin( pmove->cmd.viewangles[YAW] * ( M_PI / 180 ) ) ) );
|
||||||
right = ( fmove * ( sin( pmove->cmd.viewangles[YAW] * ( M_PI / 180 ) ) ) ) + ( smove * ( cos( pmove->cmd.viewangles[YAW] * ( M_PI / 180 ) ) ) );
|
right = ( fmove * ( sin( pmove->cmd.viewangles[YAW] * ( M_PI / 180 ) ) ) ) + ( smove * ( cos( pmove->cmd.viewangles[YAW] * ( M_PI / 180 ) ) ) );
|
||||||
|
Loading…
x
Reference in New Issue
Block a user