aboutsummaryrefslogtreecommitdiffstats
path: root/QW/client/d_scan.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/d_scan.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/d_scan.c')
-rw-r--r--QW/client/d_scan.c4
1 files changed, 2 insertions, 2 deletions
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;