1
0
Fork 0
mirror of https://github.com/OpenMW/openmw.git synced 2025-10-23 15:56:37 +00:00
openmw/apps
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
..
bsatool Support MSVC 2015. Tested(*) with updated dependencies: 2015-08-12 06:50:22 +10:00
esmtool esmtool fix 2015-12-05 11:25:59 +11:00
essimporter Load methods (for ESM records) accept a deleted flag in ESSImporter 2015-12-05 11:23:24 +11:00
launcher Fix config file priority in the launcher to match OpenMW 2015-07-27 15:12:13 +10:00
mwiniimporter Fix for possibly missing library on windows 2015-06-12 15:22:19 +02:00
niftest Removed now unneeded script 2015-09-08 06:19:08 +10:00
opencs Set editor limits on hard-coded string lengths (Bug #3066) 2015-12-20 15:02:18 +11:00
openmw consolidate random number logic 2018-10-05 18:45:57 +10:00
openmw_test_suite Adjust tests to work with esm_rewrite branch. 2015-12-05 11:27:12 +11:00
wizard Build fixes for windows 2015-06-15 16:48:18 +02:00
doc.hpp