Skip to content

Commit

Permalink
Drop second part of assert.
Browse files Browse the repository at this point in the history
It was not originally there and is kinda pointless.
  • Loading branch information
skullernet authored and res2k committed Feb 18, 2024
1 parent 3ae7ae0 commit 12ae28e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/common/cmodel.c
Original file line number Diff line number Diff line change
Expand Up @@ -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++) {
Expand Down

0 comments on commit 12ae28e

Please sign in to comment.