Made linux compatible.

This commit is contained in:
David Anderson
2004-05-26 06:19:50 +00:00
parent e45e0c9634
commit a21537f644
3 changed files with 33 additions and 34 deletions

View File

@ -586,7 +586,7 @@ static cell AMX_NATIVE_CALL playback_event(AMX *amx, cell *params)
}
//(mahnsawce)
static cell AMX_NATIVE_CALL ns2amx_anglevector(AMX *amx, cell *params)
static cell AMX_NATIVE_CALL angle_vector(AMX *amx, cell *params)
{
Vector v_angles,v_forward,v_right,v_up,v_return;
cell *vCell = MF_GetAmxAddr(amx, params[1]);
@ -786,6 +786,7 @@ AMX_NATIVE_INFO engine_Natives[] = {
{"RadiusDamage", RadiusDamage},
{"PointContents", PointContents},
{"vector_to_angle", vector_to_angle},
{"angle_vector", angle_vector},
{"vector_length", vector_length},
{"vector_distance", vector_distance},
{"trace_normal", trace_normal},
@ -813,4 +814,4 @@ AMX_NATIVE_INFO engine_Natives[] = {
{NULL, NULL},
///////////////////
};
};