Mercurial > mm7
comparison mm7_2.cpp @ 1783:a3e86ec5d3ce
Player.cpp cosmetics
author | Grumpy7 |
---|---|
date | Thu, 03 Oct 2013 06:38:20 +0200 |
parents | 53c0453f4eb2 |
children | 4d4df91a2546 5f9eeb7bf8e6 |
comparison
equal
deleted
inserted
replaced
1782:421e826f4477 | 1783:a3e86ec5d3ce |
---|---|
2734 pHostileTXT_Raw = NULL; | 2734 pHostileTXT_Raw = NULL; |
2735 } | 2735 } |
2736 } | 2736 } |
2737 | 2737 |
2738 //----- (00458244) -------------------------------------------------------- | 2738 //----- (00458244) -------------------------------------------------------- |
2739 int SkillToMastery( unsigned int skill_value ) | 2739 unsigned int SkillToMastery( unsigned int skill_value ) |
2740 { | 2740 { |
2741 switch (skill_value & 0x1C0) | 2741 switch (skill_value & 0x1C0) |
2742 { | 2742 { |
2743 case 0x100: return 4; // Grandmaster | 2743 case 0x100: return 4; // Grandmaster |
2744 case 0x80: return 3; // Master | 2744 case 0x80: return 3; // Master |