From f1d3274f0e4dfb988deb7178abd02710ae452515 Mon Sep 17 00:00:00 2001 From: Borja Ferrer Date: Sun, 2 Jul 2006 15:24:00 +0000 Subject: [PATCH] fixed bug at40706 (angle_vector) --- amxmodx/vector.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/amxmodx/vector.cpp b/amxmodx/vector.cpp index 43633e29..44ab0f2d 100644 --- a/amxmodx/vector.cpp +++ b/amxmodx/vector.cpp @@ -141,13 +141,16 @@ static cell AMX_NATIVE_CALL angle_vector(AMX *amx, cell *params) { case ANGLEVECTORS_FORWARD: v_return = v_forward; + break; case ANGLEVECTORS_RIGHT: v_return = v_right; + break; case ANGLEVECTORS_UP: v_return = v_up; + break; } - vCell = get_amxaddr(amx,params[3]); + vCell = get_amxaddr(amx, params[3]); vCell[0] = FloatToCell(v_return.x); vCell[1] = FloatToCell(v_return.y); vCell[2] = FloatToCell(v_return.z);