Fixed ent uninitialized in Entity::EventSightTrace

This commit is contained in:
Ludovic 2019-07-04 15:13:58 +02:00
parent 5435527830
commit 9e6d9f35cd

View file

@ -6527,7 +6527,7 @@ void Entity::EventSightTrace
{
Vector start, end, mins, maxs;
int mask = 0x2000B01;
Entity *ent;
Entity *ent = nullptr;
qboolean hit = qfalse;
mins = vec_zero;