mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2024-11-15 17:11:24 +00:00
- removed useless assertions
https://forum.zdoom.org/viewtopic.php?t=64616#p1103673 # Conflicts: # src/p_sight.cpp
This commit is contained in:
parent
c8398d5cf3
commit
5e2a4345ba
1 changed files with 1 additions and 3 deletions
|
@ -847,9 +847,7 @@ int P_CheckSight (AActor *t1, AActor *t2, int flags)
|
||||||
|
|
||||||
bool res;
|
bool res;
|
||||||
|
|
||||||
assert (t1 != NULL);
|
if (t1 == nullptr || t2 == nullptr)
|
||||||
assert (t2 != NULL);
|
|
||||||
if (t1 == NULL || t2 == NULL)
|
|
||||||
{
|
{
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue