Skip to content

Commit

Permalink
- removed useless assertions
Browse files Browse the repository at this point in the history
  • Loading branch information
alexey-lysiuk authored and madame-rachelle committed May 14, 2019
1 parent 5d59f29 commit bbf9a9a
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/g_shared/p_sight.cpp
Expand Up @@ -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;
Expand Down

0 comments on commit bbf9a9a

Please sign in to comment.