diff --git a/dlls/fakemeta/pev.cpp b/dlls/fakemeta/pev.cpp index 336b2c82..9fe9227c 100755 --- a/dlls/fakemeta/pev.cpp +++ b/dlls/fakemeta/pev.cpp @@ -176,6 +176,9 @@ static cell AMX_NATIVE_CALL amx_pev(AMX *amx,cell *params) case idealpitch: fReturn = pPlayer->v.idealpitch; break; + case ideal_yaw: + fReturn = pPlayer->v.ideal_yaw; + break; case pitch_speed: fReturn = pPlayer->v.pitch_speed; break; @@ -764,6 +767,8 @@ static cell AMX_NATIVE_CALL amx_set_pev(AMX *amx, cell *params) case idealpitch: pPlayer->v.idealpitch = fValue; return 1; + case ideal_yaw: + pPlayer->v.ideal_yaw = fValue; case pitch_speed: pPlayer->v.pitch_speed = fValue; return 1; diff --git a/dlls/fakemeta/pev.h b/dlls/fakemeta/pev.h index 4a93c2d1..efc472f7 100755 --- a/dlls/fakemeta/pev.h +++ b/dlls/fakemeta/pev.h @@ -43,6 +43,7 @@ enum pev_pointers impacttime, starttime, idealpitch, + ideal_yaw, pitch_speed, yaw_speed, ltime, diff --git a/plugins/include/fakemeta_const.inc b/plugins/include/fakemeta_const.inc index 5ec9b8ef..31a7fcac 100755 --- a/plugins/include/fakemeta_const.inc +++ b/plugins/include/fakemeta_const.inc @@ -184,6 +184,7 @@ enum { pev_impacttime, pev_starttime, pev_idealpitch, + pev_ideal_yaw, pev_pitch_speed, pev_yaw_speed, pev_ltime,