PDA

Просмотр полной версии : [11480] Avoid use 2 random call in dummy 14537


newsbot
13.05.2011, 15:11
автор: stfxpi


<pre>m src/game/SpellEffects.cpp
m src/shared/revision_nr.h
</pre>
<pre style='white-space:pre-wrap;width:81ex'>[11480] Avoid use 2 random call in dummy 14537

For random generators use in same calculation 2 random roll calls can
expose internal dependences in pseudo-random generation algo
and in result generated values will not so random as expected.

Signed-off-by: VladimirMangos <vladimir@getmangos.com></pre>




Дальше... (https://github.com/mangos/mangos/commit/d2665a14993dcaf5ada05ada47335a87e4d8f413)