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/d_scan.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'QW/client/d_scan.c') diff --git a/QW/client/d_scan.c b/QW/client/d_scan.c index 292bb56..46e0ef7 100644 --- a/QW/client/d_scan.c +++ b/QW/client/d_scan.c @@ -49,8 +49,8 @@ void D_WarpScreen (void) int *turb; int *col; byte **row; - byte *rowptr[1024]; - int column[1280]; + byte *rowptr[MAXHEIGHT+(AMP2*2)]; + int column[MAXWIDTH+(AMP2*2)]; float wratio, hratio; w = r_refdef.vrect.width; -- cgit v1.2.3