diff Player.cpp @ 521:663c4f618f56

Awards tab corrrection
author Gloval
date Sat, 02 Mar 2013 01:42:05 +0400
parents 7c86030324a5
children 9caf59edb1ee
line wrap: on
line diff
--- a/Player.cpp	Fri Mar 01 23:43:21 2013 +0400
+++ b/Player.cpp	Sat Mar 02 01:42:05 2013 +0400
@@ -8868,9 +8868,8 @@
               return;
             case VAR_Award:
               v13 = pPlayers[uPlayerIdx + 1];
-              v33 = 0x80u >> ((signed __int16)val - 1) % 8;
-              if ( !((unsigned __int8)(0x80u >> ((signed __int16)val - 1) % 8) & v13->_guilds_member_bits[((signed __int16)val - 1) >> 3])
-                //&& dword_723E80_award_related[2 * val] )
+              if (_449B57_test_bit((unsigned __int8 *)pPlayers[uPlayerIdx + 1]->_guilds_member_bits, val) 
+             
 				&& pAwards[val].pText )
               {
                 v14 = pPlayers[uPlayerIdx + 1];