Mercurial > mm7
diff mm7_2.cpp @ 1064:655fde266d96
GetSkillBonus cleaning in progress
author | Gloval |
---|---|
date | Fri, 24 May 2013 08:16:36 +0400 |
parents | cbb1baa606aa |
children | e86b4951da70 |
line wrap: on
line diff
--- a/mm7_2.cpp Fri May 24 00:53:48 2013 +0600 +++ b/mm7_2.cpp Fri May 24 08:16:36 2013 +0400 @@ -5445,9 +5445,9 @@ } //----- (00458244) -------------------------------------------------------- -unsigned int SkillToMastery(unsigned int value) -{ - switch (value & 0x1C0) +int SkillToMastery( unsigned int skill_value ) + { + switch (skill_value & 0x1C0) { case 0x100: return 4; // Grandmaster case 0x80: return 3; // Master