Made entity parameter a constant instance

This commit is contained in:
smallmodel 2023-08-10 14:14:39 +02:00
parent 7386784765
commit e7dbc25ca0
No known key found for this signature in database
GPG key ID: A96F163ED4891440
2 changed files with 2 additions and 2 deletions

View file

@ -223,7 +223,7 @@ void G_CalcBoundsOfMove( Vector &start, Vector &end, Vector &mins, Vector
void G_ShowTrace( trace_t *trace, gentity_t *passent, const char *reason );
bool G_SightTrace(const Vector &start, const Vector &mins, const Vector &maxs, const Vector &end, Entity *passent, Entity *passent2, int contentmask, qboolean cylindrical, const char *reason );
bool G_SightTrace( const Vector &start, const Vector &mins, const Vector &maxs, const Vector &end, gentity_t *passent, gentity_t *passent2, int contentmask, qboolean cylindrical, const char *reason );
trace_t G_Trace(const Vector &start, const Vector &mins, const Vector &maxs, const Vector &end, Entity *passent, int contentmask, qboolean cylindrical, const char *reason, qboolean tracedeep = qfalse );
trace_t G_Trace(const Vector &start, const Vector &mins, const Vector &maxs, const Vector &end, const Entity *passent, int contentmask, qboolean cylindrical, const char *reason, qboolean tracedeep = qfalse );
trace_t G_Trace( vec3_t start, vec3_t mins, vec3_t maxs, vec3_t end, gentity_t *passent, int contentmask, qboolean cylindrical, const char *reason, qboolean tracedeep = qfalse );
void G_TraceEntities( Vector &start, Vector &mins, Vector &maxs, Vector &end, Container<Entity *>*victimlist, int contentmask, qboolean bIncludeTriggers = qfalse );

View file

@ -1227,7 +1227,7 @@ trace_t G_Trace
const Vector &mins,
const Vector &maxs,
const Vector &end,
Entity *passent,
const Entity *passent,
int contentmask,
qboolean cylinder,
const char *reason,