• salix5's avatar
    update RNG and uniform distribution, part 1 (#2362) · 1c829da0
    salix5 authored
    Old version:
    pheader.flag does not contain REPLAY_UNIFORM
    RNG: mt19937
    distribution: almost-uniform
    
    New version
    pheader.flag contains REPLAY_UNIFORM
    RNG: mt19937
    distribution: uniform
    
    * add bounds checking
    
    * update RNG in replay mode
    
    * replace mtrandom with mt19937
    
    * replace mtrandom with mt19937
    1c829da0
duelclient.cpp 144 KB