projects
/
libmormegil
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e7e09af
)
Added notational comment to dice.cc
author
fluffymormegil
<mpread@chiark.greenend.org.uk>
Tue, 12 Oct 2010 22:53:56 +0000
(23:53 +0100)
committer
fluffymormegil
<mpread@chiark.greenend.org.uk>
Tue, 12 Oct 2010 22:53:56 +0000
(23:53 +0100)
src/dice.cc
patch
|
blob
|
history
diff --git
a/src/dice.cc
b/src/dice.cc
index
9654172
..
3697f87
100644
(file)
--- a/
src/dice.cc
+++ b/
src/dice.cc
@@
-33,6
+33,7
@@
libmormegil::S20prng dice_generator;
+/* No, this doesn't check whether you've initialized the generator. */
extern "C" int dice(int count, int sides)
{
int value = 0;