Fix typo.

This commit is contained in:
Andrey Akhmichin 2019-07-27 19:08:30 +05:00
parent e6b4edf758
commit 41a4bebe86
1 changed files with 2 additions and 2 deletions

View File

@ -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 ) ) ) );