mirror of
https://github.com/YGGverse/hlsdk-portable.git
synced 2025-03-12 21:41:05 +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 )
|
||||
fmove += flSpeed;
|
||||
if( pmove->cmd.buttons & IN_MOVELEFT )
|
||||
fmove -= flSpeed;
|
||||
smove -= flSpeed;
|
||||
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 ) ) ) );
|
||||
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