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 3f28634d1f617691c672e41a3ee950e6daec8c77)
# 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
..
2015-03-15 14:07:47 +13:00
2015-03-01 15:34:18 +13:00
2014-12-24 15:45:14 +01:00
2014-12-24 15:45:14 +01:00
2015-03-15 08:49:03 +13:00
2015-02-05 04:18:42 +01:00
2014-10-08 10:58:52 +02:00
2014-10-08 10:58:52 +02:00
2015-05-21 22:46:44 -05:00
2014-10-08 10:58:52 +02:00
2015-11-01 21:34:23 +11:00
2015-06-11 18:31:35 +12:00
2015-03-08 17:42:07 +13:00
2015-04-28 18:48:02 -05:00
2015-05-21 22:46:44 -05:00
2014-10-10 23:31:01 +02:00
2015-05-21 22:46:44 -05:00
2014-12-09 22:25:28 +01:00
2015-06-11 18:31:35 +12:00
2015-06-14 10:30:55 +12:00
2014-12-24 15:45:14 +01:00
2014-10-08 10:58:52 +02:00
2015-03-07 11:04:54 +13:00
2015-03-06 21:36:42 +13:00
2014-12-31 18:41:57 +01:00
2015-06-11 18:28:31 +12:00
2015-06-11 18:28:31 +12:00
2015-06-21 16:23:40 +12:00
2015-03-28 20:05:54 +13:00
2015-09-08 06:40:06 +10:00
2014-10-20 17:45:11 +02:00
2015-03-08 17:42:07 +13:00
2014-07-12 18:53:15 +02:00
2015-05-21 22:46:44 -05:00
2015-03-06 21:36:42 +13:00
2018-10-05 18:45:57 +10:00
2015-03-12 03:08:58 +01:00
2015-06-21 17:28:18 +02:00
2015-06-21 17:28:18 +02:00
2014-07-20 16:38:20 +02:00
2014-07-20 16:38:20 +02:00
2015-03-15 14:07:47 +13:00
2014-05-12 21:37:36 +02:00
2015-03-15 14:07:47 +13:00
2015-01-07 04:41:12 +01:00
2015-03-15 14:07:47 +13:00
2015-09-08 06:40:06 +10:00
2015-02-15 20:10:21 -06:00
2018-10-05 18:45:57 +10:00
2015-02-06 01:27:16 +01:00
2013-03-30 19:00:46 -07:00
2015-09-08 06:40:06 +10:00
2015-06-21 17:28:18 +02:00
2014-02-01 18:16:32 +01:00
2014-01-20 13:11:29 +01:00
2015-05-21 22:46:44 -05:00
2015-02-09 15:12:10 +01:00
2015-06-14 15:14:02 +12:00
2015-06-14 15:14:02 +12:00
2015-05-21 22:46:44 -05:00
2015-03-06 21:36:42 +13:00
2015-03-15 14:07:47 +13:00
2014-01-07 03:01:33 +01:00
2015-03-15 14:07:47 +13:00
2013-03-23 08:16:46 +01:00
2015-03-15 14:07:47 +13:00
2013-05-19 23:19:48 +02:00
2015-05-22 19:57:02 +02:00
2015-03-06 21:36:42 +13:00
2015-09-08 06:40:06 +10:00
2015-05-11 16:38:16 +02:00
2015-03-09 03:15:11 +01:00
2015-03-09 03:15:11 +01:00
2014-04-27 13:49:31 +04:00
2014-04-27 13:49:31 +04:00
2015-02-16 16:41:53 +11:00
2015-02-16 16:41:53 +11:00