← Back to team overview

millennium-dev team mailing list archive

[Bug 1207743] Re: Shuffling a CCardStack calls srand(...) every time

 

** Changed in: libmillennium
       Status: New => Fix Released

-- 
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:
  Fix Released

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