//=========================================================================== // // Parameter: - // Returns: - // Changes Globals: - //=========================================================================== qboolean AAS_EntityCollision( int entnum, vec3_t start, vec3_t boxmins, vec3_t boxmaxs, vec3_t end, int contentmask, bsp_trace_t *trace ) { bsp_trace_t enttrace; botimport.EntityTrace( &enttrace, start, boxmins, boxmaxs, end, entnum, contentmask ); if ( enttrace.fraction < trace->fraction ) { memcpy( trace, &enttrace, sizeof( bsp_trace_t ) ); return qtrue; } //end if return qfalse; } //end of the function AAS_EntityCollision