[8763] fixed typofix from last commit

This commit is contained in:
Triply 2009-11-01 21:42:57 +01:00 committed by balrok
parent 70e3c17982
commit 132aed0f0b
2 changed files with 3 additions and 3 deletions

View file

@ -513,8 +513,8 @@ float ArenaTeam::GetChanceAgainst(uint32 own_rating, uint32 enemy_rating)
// ELO system
if (sWorld.getConfig(CONFIG_ARENA_SEASON_ID) >= 6)
if (enemy_rating < 1000)
enemy_rating = 1000;
if (enemy_rating < 1500)
enemy_rating = 1500;
return 1.0f/(1.0f+exp(log(10.0f)*(float)((float)enemy_rating - (float)own_rating)/400.0f));
}

View file

@ -1,4 +1,4 @@
#ifndef __REVISION_NR_H__
#define __REVISION_NR_H__
#define REVISION_NR "8762"
#define REVISION_NR "8763"
#endif // __REVISION_NR_H__