Mercurial > mm7
diff mm7_5.cpp @ 983:1462a5f12b65
Character Skills tab drawing fixed.
author | Nomad |
---|---|
date | Sat, 11 May 2013 17:00:43 +0200 |
parents | 08fd1436ef35 |
children | d982fffb8b96 |
line wrap: on
line diff
--- a/mm7_5.cpp Sat May 11 13:19:55 2013 +0200 +++ b/mm7_5.cpp Sat May 11 17:00:43 2013 +0200 @@ -9223,7 +9223,7 @@ //----- (0040DEF3) -------------------------------------------------------- unsigned short TargetColor( unsigned __int16 r, unsigned __int16 g, unsigned __int16 b ) - { +{ return ((unsigned int)b >> (8 - LOBYTE(pRenderer->uTargetBBits))) | pRenderer->uTargetGMask & (g << (LOBYTE(pRenderer->uTargetGBits) + LOBYTE(pRenderer->uTargetBBits) - 8)) | pRenderer->uTargetRMask & (r << (LOBYTE(pRenderer->uTargetGBits) + LOBYTE(pRenderer->uTargetRBits) + LOBYTE(pRenderer->uTargetBBits) - 8)); @@ -11459,7 +11459,7 @@ } //----- (00417AD4) -------------------------------------------------------- -unsigned int __fastcall GetSkillColor(unsigned int uPlayerClass, PLAYER_SKILL_TYPE uPlayerSkillType, signed int skill_level) +unsigned int GetSkillColor(unsigned int uPlayerClass, PLAYER_SKILL_TYPE uPlayerSkillType, signed int skill_level) { int v8; // eax@10 int v12; // eax@14