From 569ef4d494f41faab2fddbbffdaa6506f0a7915b Mon Sep 17 00:00:00 2001 From: David Anderson Date: Tue, 14 Sep 2004 18:02:32 +0000 Subject: [PATCH] fix for tracelien forward --- dlls/fakemeta/forward.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/dlls/fakemeta/forward.cpp b/dlls/fakemeta/forward.cpp index 73db7ecb..a8d50363 100755 --- a/dlls/fakemeta/forward.cpp +++ b/dlls/fakemeta/forward.cpp @@ -92,6 +92,7 @@ void SetModel_post(edict_t *e, const char *m) void TraceLine(const float *v1, const float *v2, int fNoMonsters, edict_t *pentToSkip, TraceResult *ptr) { + TRACE_LINE(v1, v2, fNoMonsters, pentToSkip, ptr); //from fun module - prevents crash? - t(+)rget/freecode cell vec1[3] = {amx_ftoc(v1[0]), amx_ftoc(v1[1]), amx_ftoc(v1[2])}; cell vec2[3] = {amx_ftoc(v2[0]), amx_ftoc(v2[1]), amx_ftoc(v2[2])}; cell retvec1 = MF_PrepareCellArray(vec1, 3); @@ -1043,4 +1044,4 @@ AMX_NATIVE_INFO forward_natives[] = { { "register_forward", register_forward }, { "forward_return", fm_return }, { NULL, NULL } -}; \ No newline at end of file +};