diff --git a/dicepwgen.1 b/dicepwgen.1 index aa2d80e..7b3ee51 100644 --- a/dicepwgen.1 +++ b/dicepwgen.1 @@ -182,13 +182,6 @@ The program only uses words which contain 7bit \s-1ASCII\s0 letters . .SH "BUGS" .IX Header "BUGS" -.IP "\(bu" 4 -Program rolled dices are using a pseudo random device, thanks -to some yet unknown reason the digits of dice rolls are unevenly -distributed, in fact there are 20% as much 1s as other digits. -.Sp -Use the option b<\-t> with physical dices to mitigate this. -.PP In order to report a bug, unexpected behavior, feature requests or to submit a patch, please open an issue on github: . diff --git a/dicepwgen.pod b/dicepwgen.pod index a3ce6cb..8c18089 100644 --- a/dicepwgen.pod +++ b/dicepwgen.pod @@ -46,18 +46,6 @@ L. =head1 BUGS -=over - -=item * - -Program rolled dices are using a pseudo random device, thanks -to some yet unknown reason the digits of dice rolls are unevenly -distributed, in fact there are 20% as much 1s as other digits. - -Use the option b<-t> with physical dices to mitigate this. - -=back - In order to report a bug, unexpected behavior, feature requests or to submit a patch, please open an issue on github: L. diff --git a/tossing.c b/tossing.c index e34b356..5c1d89b 100644 --- a/tossing.c +++ b/tossing.c @@ -89,11 +89,12 @@ unsigned char *toss(int count, int dicenum) { for(i=0; i= 1 && onedice <= 6) { tosses[pos] = onedice; pos++; } + else + continue; if(pos == count) break; }