ref: 48aef20078bc1733bba385b94893e0eec514e93b
parent: df6d7ef61946448795d8b8f19a33cf146e20f0bc
author: Sigrid Solveig Haflínudóttir <sigrid@ftrv.se>
date: Wed Nov 8 20:29:40 EST 2023
R_ScanEdges: fix a wrong fixed point shift? found by clang analyzer
--- a/r_edge.c
+++ b/r_edge.c
@@ -567,7 +567,7 @@
edge_aftertail.prev = &edge_tail;
// FIXME: do we need this now that we clamp x in r_draw.c?
- edge_sentinel.u = 2000 << 24; // make sure nothing sorts past this
+ edge_sentinel.u = 2000 << 20; // make sure nothing sorts past this
edge_sentinel.prev = &edge_aftertail;
//