Traits are active if MORE than 10 away from 50

develop
Espen Wiborg 2011-12-29 03:54:36 +08:00 committed by Petr Mrázek
parent a49ac554a8
commit 1a88df201c
1 changed files with 2 additions and 2 deletions

@ -1205,7 +1205,7 @@ string VersionInfo::getTrait (const uint32_t traitIdx, const uint32_t traitValue
if(d->traits.size() > traitIdx) if(d->traits.size() > traitIdx)
{ {
int diff = absolute(traitValue-50); int diff = absolute(traitValue-50);
if(diff < 10) if(diff <= 10)
{ {
return string(""); return string("");
} }