- removed useless assertions

https://forum.zdoom.org/viewtopic.php?t=64616#p1103673

# Conflicts:
#	src/p_sight.cpp
This commit is contained in:
alexey.lysiuk 2019-05-13 12:59:52 +03:00 committed by drfrag
parent c8398d5cf3
commit 5e2a4345ba

View file

@ -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;
} }