~mdw
/
sgt
/
puzzles
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fd1a1a2
)
Incorrect placing of the polyhedron sometimes left it on a blue
author
simon
<simon@cda61777-01e9-0310-a592-d414129be87e>
Fri, 30 Apr 2004 10:11:53 +0000
(10:11 +0000)
committer
simon
<simon@cda61777-01e9-0310-a592-d414129be87e>
Fri, 30 Apr 2004 10:11:53 +0000
(10:11 +0000)
square. Oops.
git-svn-id: svn://svn.tartarus.org/sgt/puzzles@4175
cda61777
-01e9-0310-a592-
d414129be87e
cube.c
patch
|
blob
|
blame
|
history
diff --git
a/cube.c
b/cube.c
index
5940c8b
..
a0abf6d
100644
(file)
--- a/
cube.c
+++ b/
cube.c
@@
-559,7
+559,7
@@
char *new_game_seed(game_params *params)
/*
* Choose a non-blue square for the polyhedron.
*/
- sprintf(p, ":%d",
rand_upto(m)
);
+ sprintf(p, ":%d",
data.gridptrs[0][rand_upto(m)]
);
sfree(data.gridptrs[0]);
sfree(flags);