aboutsummaryrefslogtreecommitdiffstats
path: root/QW/client/r_draw.c
diff options
context:
space:
mode:
authorwyatt8740 <wyatt8740@users.noreply.github.com>2023-10-02 02:28:26 -0400
committerwyatt8740 <wyatt8740@users.noreply.github.com>2023-10-02 02:28:26 -0400
commit7088dac899e165e84133ba99e1549a1dadec054f (patch)
tree50ef835bae28eb65b4c4d36565e8eeee536cf2b9 /QW/client/r_draw.c
parent45959aa12ee28db62ef8be97a0d5e0bc5644b691 (diff)
downloadquake-pum-7088dac899e165e84133ba99e1549a1dadec054f.tar.gz
fixed water warping effect crashing the game after increasing MAXHEIGHT and MAXWIDTH for software rendered quakeworld.
Diffstat (limited to 'QW/client/r_draw.c')
-rw-r--r--QW/client/r_draw.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/QW/client/r_draw.c b/QW/client/r_draw.c
index 81262f7..2ccf316 100644
--- a/QW/client/r_draw.c
+++ b/QW/client/r_draw.c
@@ -50,8 +50,8 @@ qboolean r_leftclipped, r_rightclipped;
static qboolean makeleftedge, makerightedge;
qboolean r_nearzionly;
-int sintable[1280];
-int intsintable[1280];
+int sintable[SIN_BUFFER_SIZE];
+int intsintable[SIN_BUFFER_SIZE];
mvertex_t r_leftenter, r_leftexit;
mvertex_t r_rightenter, r_rightexit;