Sisyphus repositório
Última atualização: 1 outubro 2023 | SRPMs: 18631 | Visitas: 37793517
en ru br
ALT Linux repositórios
S:2.0-alt8
5.0: 2.0-alt5
4.1: 2.0-alt4.qa1
4.0: 2.0-alt3
3.0: 1.0-alt3

Outros repositórios

Group :: Jogos/Enigmas
RPM: einstein

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs e FR  Repocop 

Patch: einstein-2.0-deb-random_init.patch
Download


--- einstein-2.0.dfsg.2.orig/puzgen.cpp
+++ einstein-2.0.dfsg.2/puzgen.cpp
@@ -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;
 
projeto & código: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
mantenedor atual: Michael Shigorin
mantenedor da tradução: Fernando Martini aka fmartini © 2009