mirror of
https://github.com/openmoh/openmohaa.git
synced 2025-05-06 19:01:04 +03:00
Fixed ent uninitialized in Entity::EventSightTrace
This commit is contained in:
parent
5435527830
commit
9e6d9f35cd
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue