Intensified water effect B with incremental seeding.
This commit is contained in:
@@ -24,6 +24,7 @@
|
||||
#include <ctype.h>
|
||||
#include <math.h>
|
||||
#include <memory.h>
|
||||
#include <time.h>
|
||||
#endif
|
||||
|
||||
#include "fixsin.h"
|
||||
@@ -136,6 +137,7 @@ void DrawWater(void)
|
||||
|
||||
if(mode&4)
|
||||
{
|
||||
srand(time(0));
|
||||
if(rand()%20 == 0)
|
||||
{
|
||||
/*
|
||||
|
||||
Reference in New Issue
Block a user