FinalBlowup / Enigma

1 stars 1 forks source link

rand() #11

Closed AeolusDraco closed 7 years ago

AeolusDraco commented 7 years ago

in main.cpp:

#include <stdlib.h> //Required for srand(time(NULL)) which is needed to run for loops until the end of an array

#include <time.h> //Required for srand(time(NULL))

and later at line 11

srand(time(NULL));

but do we need this function? We don't use rand() anywhere in the program, so this shouldn't be necessary.

rohanputcha commented 7 years ago

fixed in f46b0f2