2
0
mirror of https://github.com/rehlds/rehlds.git synced 2025-01-01 01:25:38 +03:00

Remove useless assignment in pmove

This commit is contained in:
Alibek Omarov 2016-03-30 01:13:57 +04:00
parent 1c7d03e3c7
commit a5029f8b6e

View File

@ -940,10 +940,9 @@ void SV_RunCmd(usercmd_t *ucmd, int random_seed)
sv_player->v.v_angle[0] = pmove->angles[0];
sv_player->v.v_angle[1] = pmove->angles[1];
sv_player->v.v_angle[2] = pmove->angles[2];
sv_player->v.angles[0] = pmove->angles[0];
sv_player->v.angles[0] = float(-pmove->angles[0] / 3.0);
sv_player->v.angles[1] = pmove->angles[1];
sv_player->v.angles[2] = pmove->angles[2];
sv_player->v.angles[0] = float(-pmove->angles[0] / 3.0);
}
sv_player->v.bInDuck = pmove->bInDuck;
sv_player->v.flDuckTime = (int)pmove->flDuckTime;