Commit ad869c67 authored by Frederik Schwarzer's avatar Frederik Schwarzer
Browse files

rand() -> qrand()

parent fa5158d3
......@@ -51,7 +51,7 @@ QList<int> aiController::autoFill(int safeMovesLeft)
if (fillLines.isEmpty()) {
break;
}
int index = rand() % fillLines.size();
int index = qrand() % fillLines.size();
fillLines.removeAt(index);
}
......
Markdown is supported
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