millennium-dev team mailing list archive
-
millennium-dev team
-
Mailing list archive
-
Message #00211
[Bug 1207743] Re: Shuffling a CCardStack calls srand(...) every time
** Changed in: libmillennium
Status: Fix Released => Triaged
--
You received this bug notification because you are a member of
Millennium Developers, which is subscribed to libMillennium.
https://bugs.launchpad.net/bugs/1207743
Title:
Shuffling a CCardStack calls srand(...) every time
Status in libMillennium:
Triaged
Bug description:
A closer look to CCardStack shows that it resets the main seed every
time it is called. This significantly reduces randomness in cases when
many things are shuffled within the same second. The seed should be
set just once.
To manage notifications about this bug go to:
https://bugs.launchpad.net/libmillennium/+bug/1207743/+subscriptions
References