(svn r24531) -Fix: Max script chance was too big.

This commit is contained in:
alberth
2012-09-18 19:29:29 +00:00
parent 72639deb84
commit 461fc1e268
2 changed files with 4 additions and 1 deletions

View File

@@ -59,6 +59,7 @@ public:
* After all, it is a random function.
* @param out How many times it should return true.
* @param max Out of this many times.
* @pre \a out is at most equal to \a max.
* @return True if the chance worked out.
*/
static bool Chance(uint out, uint max);