View Single Post
Black Rose
Veteran Member
Join Date: Feb 2011
Location: Stockholm, Sweden
Old 07-15-2014 , 19:09   Re: A* Pathfinding API
Reply With Quote #27

I didn't even know that was required. I thought EngFunc_TraceLine created it's own handle.
It seems to be working fine without that. But if is required I will of course update the API and the example with that as soon as possible (worst case, this weekend).

Code:
    //With 1.71 you can pass an optional TraceLine ptr for trace natives
    // it can be 0, for meaning "global tr handle" (for get/set_tr2), or
    // it can be any other TR handle (such as one from a TR hook)     EngFunc_TraceLine,          // void )   (const float *v1, const float *v2, int fNoMonsters, edict_t *pentToSkip, TraceResult *ptr);
When reading that I get the impression it is not required.
__________________
Black Rose is offline