Seed the random number generator

This commit is contained in:
Elnu 2022-03-05 13:33:26 -08:00
parent 6600bdf109
commit 0e76abdcc7

View file

@ -140,6 +140,8 @@ class Block {
int main()
{
srand(time(NULL));
sf::RenderWindow window(sf::VideoMode(WINDOW_WIDTH, WINDOW_HEIGHT), "elnutris");
Block block;