aboutsummaryrefslogtreecommitdiff
path: root/audio/spiralsynth/files/patch-SpiralInfo.C
blob: f91a73c279f3800d0e8fd077f58710b9f14e3b6d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
--- SpiralInfo.C.orig	Mon Feb  9 13:26:01 2004
+++ SpiralInfo.C	Mon Feb  9 13:26:59 2004
@@ -22,8 +22,10 @@
 
 #include "SpiralSound/SpiralInfo.h"
 
-float RandFloat(float s=0.0f, float e=1.0f)
+float RandFloat(float s, float e)
 {
+	s=0.0f;
+	e=1.0f;
 	return s+((rand()%10000/10000.0)*(e-s));
 }