From 6f68356e443c2e5c0cd4ac2f0eeb6f7447655357 Mon Sep 17 00:00:00 2001 From: "alexey.lysiuk" Date: Mon, 13 May 2019 12:59:52 +0300 Subject: [PATCH] - removed useless assertions https://forum.zdoom.org/viewtopic.php?t=64616#p1103673 --- src/g_shared/p_sight.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/g_shared/p_sight.cpp b/src/g_shared/p_sight.cpp index 1e4c8155b..fda40b80c 100644 --- a/src/g_shared/p_sight.cpp +++ b/src/g_shared/p_sight.cpp @@ -845,8 +845,6 @@ int P_CheckSight (AActor *t1, AActor *t2, int flags) bool res; - assert (t1 != nullptr); - assert (t2 != nullptr); if (t1 == nullptr || t2 == nullptr) { return false;