diff --git a/code/game/entity.cpp b/code/game/entity.cpp index 9ab4e5fd..72bb694c 100644 --- a/code/game/entity.cpp +++ b/code/game/entity.cpp @@ -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;