mirror of
https://github.com/alliedmodders/amxmodx.git
synced 2024-12-25 06:15:37 +03:00
Fixed am45318 - Some wrong constants from TraceResult enum
This commit is contained in:
parent
9740f6469d
commit
90f11b52bc
@ -71,8 +71,8 @@ stock can_see(ent1, ent2)
|
|||||||
return 0;
|
return 0;
|
||||||
} else {
|
} else {
|
||||||
new Float:flFraction;
|
new Float:flFraction;
|
||||||
get_tr2(0, TraceResult:TR_Fraction, flFraction);
|
get_tr2(0, TraceResult:TR_flFraction, flFraction);
|
||||||
if (flFraction == 1.0 || (get_tr2(0, TraceResult:TR_Hit) == ent2))
|
if (flFraction == 1.0 || (get_tr2(0, TraceResult:TR_pHit) == ent2))
|
||||||
{
|
{
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user