Added pev_ideal_yaw

This commit is contained in:
Steve Dudenhoeffer 2004-09-10 16:28:27 +00:00
parent d72b8de045
commit 2573c9c4d2
3 changed files with 7 additions and 0 deletions

View File

@ -176,6 +176,9 @@ static cell AMX_NATIVE_CALL amx_pev(AMX *amx,cell *params)
case idealpitch: case idealpitch:
fReturn = pPlayer->v.idealpitch; fReturn = pPlayer->v.idealpitch;
break; break;
case ideal_yaw:
fReturn = pPlayer->v.ideal_yaw;
break;
case pitch_speed: case pitch_speed:
fReturn = pPlayer->v.pitch_speed; fReturn = pPlayer->v.pitch_speed;
break; break;
@ -764,6 +767,8 @@ static cell AMX_NATIVE_CALL amx_set_pev(AMX *amx, cell *params)
case idealpitch: case idealpitch:
pPlayer->v.idealpitch = fValue; pPlayer->v.idealpitch = fValue;
return 1; return 1;
case ideal_yaw:
pPlayer->v.ideal_yaw = fValue;
case pitch_speed: case pitch_speed:
pPlayer->v.pitch_speed = fValue; pPlayer->v.pitch_speed = fValue;
return 1; return 1;

View File

@ -43,6 +43,7 @@ enum pev_pointers
impacttime, impacttime,
starttime, starttime,
idealpitch, idealpitch,
ideal_yaw,
pitch_speed, pitch_speed,
yaw_speed, yaw_speed,
ltime, ltime,

View File

@ -184,6 +184,7 @@ enum {
pev_impacttime, pev_impacttime,
pev_starttime, pev_starttime,
pev_idealpitch, pev_idealpitch,
pev_ideal_yaw,
pev_pitch_speed, pev_pitch_speed,
pev_yaw_speed, pev_yaw_speed,
pev_ltime, pev_ltime,