mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-29 13:00:32 +01:00
11 lines
354 B
Diff
11 lines
354 B
Diff
--- ../orig/einstein-2.0/puzgen.cpp 2005-08-14 04:40:58.000000000 +0200
|
|
+++ puzgen.cpp 2007-08-31 08:42:16.000000000 +0200
|
|
@@ -313,6 +313,8 @@
|
|
|
|
void genPuzzle(SolvedPuzzle &puzzle, Rules &rules)
|
|
{
|
|
+ srand(time(NULL));
|
|
+
|
|
for (int i = 0; i < PUZZLE_SIZE; i++) {
|
|
for (int j = 0; j < PUZZLE_SIZE; j++)
|
|
puzzle[i][j] = j + 1;
|