Intensified water effect B with incremental seeding.

This commit is contained in:
stainless
2001-11-15 05:52:44 +00:00
parent 9f0a9c3260
commit 1e2ed3b259

View File

@@ -24,6 +24,7 @@
#include <ctype.h> #include <ctype.h>
#include <math.h> #include <math.h>
#include <memory.h> #include <memory.h>
#include <time.h>
#endif #endif
#include "fixsin.h" #include "fixsin.h"
@@ -136,6 +137,7 @@ void DrawWater(void)
if(mode&4) if(mode&4)
{ {
srand(time(0));
if(rand()%20 == 0) if(rand()%20 == 0)
{ {
/* /*