From: Jaka K. <lyn...@us...> - 2012-04-08 10:41:32
|
gemrb: Infinity Engine emulator The branch master has been updated via a315c9838771b057d490b956f922538a4c698268 (commit) Summary of changes: gemrb/core/EffectQueue.cpp | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) from 2ffe4e9c03f0c049697faf7bef58ac3df80cf7af (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log ----------------------------------------------------------------- http://gemrb.git.sourceforge.net/git/gitweb.cgi?p=gemrb/gemrb;a=commitdiff;h=a315c9838771b057d490b956f922538a4c698268 commit a315c9838771b057d490b956f922538a4c698268 Author: Jaka Kranjc <lyn...@us...> Date: Sun Apr 8 12:36:05 2012 +0200 check_probability: don't treat the lower boundary as nonmatching fixes the (number of unique intervals)*1% potential of matching nothing in full 0-100% probability spells diff --git a/gemrb/core/EffectQueue.cpp b/gemrb/core/EffectQueue.cpp index 74e2f2c..5f7118d 100644 --- a/gemrb/core/EffectQueue.cpp +++ b/gemrb/core/EffectQueue.cpp @@ -768,7 +768,7 @@ static inline bool check_probability(Effect* fx) //watch for this, probability1 is the high number //probability2 is the low number //random value is 0-99 - if( fx->random_value<=fx->Probability2 || fx->random_value>fx->Probability1) { + if(fx->random_value<fx->Probability2 || fx->random_value>fx->Probability1) { return false; } return true; ----------------------------------------------------------------------- This is an automated email from the git hooks/post-receive script. -- gemrb: Infinity Engine emulator |