From 12ae28e8747deb567c5b20feeec09359a27d075c Mon Sep 17 00:00:00 2001 From: Andrey Nazarov Date: Sat, 15 Apr 2023 19:16:17 +0300 Subject: [PATCH] Drop second part of assert. It was not originally there and is kinda pointless. --- src/common/cmodel.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/common/cmodel.c b/src/common/cmodel.c index ef11518e6..d7adcdc85 100644 --- a/src/common/cmodel.c +++ b/src/common/cmodel.c @@ -1114,7 +1114,7 @@ byte *CM_FatPVS(cm_t *cm, byte *mask, const vec3_t org, int vis) } count = CM_BoxLeafs(cm, mins, maxs, leafs, q_countof(leafs), NULL); - Q_assert(count > 0 && count <= q_countof(leafs)); + Q_assert(count > 0); // convert leafs to clusters for (i = 0; i < count; i++) {