mirror of
https://github.com/alliedmodders/amxmodx.git
synced 2024-12-25 22:35:37 +03:00
fixed bug at40706 (angle_vector)
This commit is contained in:
parent
0c668753fb
commit
f1d3274f0e
@ -141,10 +141,13 @@ static cell AMX_NATIVE_CALL angle_vector(AMX *amx, cell *params)
|
|||||||
{
|
{
|
||||||
case ANGLEVECTORS_FORWARD:
|
case ANGLEVECTORS_FORWARD:
|
||||||
v_return = v_forward;
|
v_return = v_forward;
|
||||||
|
break;
|
||||||
case ANGLEVECTORS_RIGHT:
|
case ANGLEVECTORS_RIGHT:
|
||||||
v_return = v_right;
|
v_return = v_right;
|
||||||
|
break;
|
||||||
case ANGLEVECTORS_UP:
|
case ANGLEVECTORS_UP:
|
||||||
v_return = v_up;
|
v_return = v_up;
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
vCell = get_amxaddr(amx, params[3]);
|
vCell = get_amxaddr(amx, params[3]);
|
||||||
|
Loading…
Reference in New Issue
Block a user