From 7088dac899e165e84133ba99e1549a1dadec054f Mon Sep 17 00:00:00 2001 From: wyatt8740 Date: Mon, 2 Oct 2023 02:28:26 -0400 Subject: fixed water warping effect crashing the game after increasing MAXHEIGHT and MAXWIDTH for software rendered quakeworld. --- QW/client/r_draw.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'QW/client/r_draw.c') 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; -- cgit v1.2.3