mirror of
https://github.com/OpenMW/openmw.git
synced 2025-04-15 09:36:44 +00:00
Add a comment explaining the pick of the prng
This commit is contained in:
parent
769be88d43
commit
d7de17a1ac
1 changed files with 1 additions and 0 deletions
|
@ -10,6 +10,7 @@
|
||||||
*/
|
*/
|
||||||
namespace Misc::Rng
|
namespace Misc::Rng
|
||||||
{
|
{
|
||||||
|
/// The use of a rather minimalistic prng is preferred to avoid saving a lot of state in the save game.
|
||||||
using Generator = std::minstd_rand;
|
using Generator = std::minstd_rand;
|
||||||
|
|
||||||
Generator& getGenerator();
|
Generator& getGenerator();
|
||||||
|
|
Loading…
Reference in a new issue