Commit 26701de9 authored by Frederik Schwarzer's avatar Frederik Schwarzer
Browse files

rand() -> qrand()

parent e150d9dc
......@@ -23,7 +23,7 @@ aiController::aiController(int newPlayerId, const QList<bool> &newLines, const Q
for (int i = 0; i < linesSize; ++i) {
lines[i] = newLines[i];
}
srand((unsigned)time(NULL));
qsrand((unsigned)time(NULL));
//qDebug() << "AI: Starting AI level" << Settings::difficulty();
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment