fixed bug at40706 (angle_vector)

This commit is contained in:
Borja Ferrer 2006-07-02 15:24:00 +00:00
parent 0c668753fb
commit f1d3274f0e

View File

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