aboutsummaryrefslogtreecommitdiffstats
path: root/QW/client/r_main.c
diff options
context:
space:
mode:
Diffstat (limited to 'QW/client/r_main.c')
-rw-r--r--QW/client/r_main.c2
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