From 90f11b52bc65c069abc1f58c022bcafe58d05a9c Mon Sep 17 00:00:00 2001 From: Scott Ehlert Date: Sun, 1 Oct 2006 02:39:59 +0000 Subject: [PATCH] Fixed am45318 - Some wrong constants from TraceResult enum --- plugins/include/amxmod_compat/VexdUM_stock.inc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/include/amxmod_compat/VexdUM_stock.inc b/plugins/include/amxmod_compat/VexdUM_stock.inc index 3e2d23ce..ef652cc2 100644 --- a/plugins/include/amxmod_compat/VexdUM_stock.inc +++ b/plugins/include/amxmod_compat/VexdUM_stock.inc @@ -71,8 +71,8 @@ stock can_see(ent1, ent2) return 0; } else { new Float:flFraction; - get_tr2(0, TraceResult:TR_Fraction, flFraction); - if (flFraction == 1.0 || (get_tr2(0, TraceResult:TR_Hit) == ent2)) + get_tr2(0, TraceResult:TR_flFraction, flFraction); + if (flFraction == 1.0 || (get_tr2(0, TraceResult:TR_pHit) == ent2)) { return 1; }