diff options
| author | wyatt8740 <wyatt8740@users.noreply.github.com> | 2023-10-02 02:28:26 -0400 |
|---|---|---|
| committer | wyatt8740 <wyatt8740@users.noreply.github.com> | 2023-10-02 02:28:26 -0400 |
| commit | 7088dac899e165e84133ba99e1549a1dadec054f (patch) | |
| tree | 50ef835bae28eb65b4c4d36565e8eeee536cf2b9 /QW/client/r_main.c | |
| parent | 45959aa12ee28db62ef8be97a0d5e0bc5644b691 (diff) | |
| download | quake-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_main.c')
| -rw-r--r-- | QW/client/r_main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/QW/client/r_main.c b/QW/client/r_main.c index 3f59588..64363d0 100644 --- a/QW/client/r_main.c +++ b/QW/client/r_main.c @@ -1095,7 +1095,7 @@ void R_InitTurb (void) { int i; - for (i=0 ; i<1280 ; i++) + for (i=0 ; i<(SIN_BUFFER_SIZE) ; i++) { sintable[i] = AMP + sin(i*3.14159*2/CYCLE)*AMP; intsintable[i] = AMP2 + sin(i*3.14159*2/CYCLE)*AMP2; // AMP2, not 20 |
