commit 1538e934
srand are not used anymore as the BlockGame objects have there own internal random generator
Changed files
| M | source/code/BlockGame.cpp before |
diff --git a/source/code/BlockGame.cpp b/source/code/BlockGame.cpp
index fb7264e..fa940b9 100644
--- a/source/code/BlockGame.cpp
+++ b/source/code/BlockGame.cpp
@@ -80,7 +80,6 @@ int BlockGame::firstUnusedChain() {
//Constructor
BlockGame::BlockGame() {
- srand((int)time(nullptr));
AI_MoveSpeed=100;
baseSpeed = 0.5; //All other speeds are relative to this
speed = baseSpeed;