1
0
Fork 1
mirror of https://github.com/TES3MP/openmw-tes3mp.git synced 2025-10-10 14:26:38 +00:00
openmw-tes3mp/components
dteviot 4b0aeb4066 consolidate random number logic
Note, I suspect Rng::rollClosedProbability() is not needed.  The only difference between it and rollProbability() is that one time in 37k (on Windows), it will give an output of 1.0.
On some versions of Linux, the value of 1.0 will occur about 1 time in 4 billion.

(cherry picked from commit 3f28634d1f)

# Conflicts:
#	apps/openmw/mwclass/creature.cpp
#	apps/openmw/mwclass/npc.cpp
#	apps/openmw/mwgui/pickpocketitemmodel.cpp
#	apps/openmw/mwgui/waitdialog.cpp
#	apps/openmw/mwmechanics/combat.cpp
#	apps/openmw/mwmechanics/mechanicsmanagerimp.cpp
#	components/CMakeLists.txt
#	libs/openengine/misc/rng.cpp
2018-10-05 18:45:57 +10:00
..
autocalc
bsa
compiler
config
contentselector
esm
esmterrain
files
fontloader
interpreter deal with script execution from within a script (Fixes #2964) 2015-11-01 22:48:38 +11:00
loadinglistener Tests: add dialogue_merging_test (requires some data files) 2015-12-05 11:26:24 +11:00
misc
nif
nifbullet
nifcache
nifogre
nifoverrides
ogreinit
process
settings
terrain Support MSVC 2015. Tested(*) with updated dependencies: 2015-08-12 06:50:22 +10:00
to_utf8
translation
version
widgets
CMakeLists.txt consolidate random number logic 2018-10-05 18:45:57 +10:00
doc.hpp