Conway: Don't run misleading srand()

The randomness is taken from arc4random() which is independent from srand/rand/rand_r,
so there's no need to call srand(). At best, it confuses the reader to think that
there would eventually be a call to rand().
This commit is contained in:
Ben Wiederhake 2021-01-19 19:41:50 +01:00 committed by Andreas Kling
parent c8465b4c1a
commit e849c62f55
Notes: sideshowbarker 2024-07-18 23:02:37 +09:00

View file

@ -31,7 +31,6 @@
Game::Game()
{
srand(time(nullptr));
reset();
}