comparison UI/Books/UISpellBook.cpp @ 1460:ff2118028c71

renaming _guilds_member_bits to _achieved_awards_bits
author Gloval
date Wed, 21 Aug 2013 20:58:36 +0400
parents bfe342ae0c1f
children c4ab816fcc5e
comparison
equal deleted inserted replaced
1457:9dc33590f93e 1460:ff2118028c71
95 pRenderer->ClearZBuffer(0, 479); 95 pRenderer->ClearZBuffer(0, 479);
96 if ( (11 * player->lastOpenedSpellbookPage) || ((11 * player->lastOpenedSpellbookPage) + 11) )//??? maybe structure need fix 96 if ( (11 * player->lastOpenedSpellbookPage) || ((11 * player->lastOpenedSpellbookPage) + 11) )//??? maybe structure need fix
97 { 97 {
98 for ( uint i = 1; i <= 11; ++i ) 98 for ( uint i = 1; i <= 11; ++i )
99 { 99 {
100 if (player->_guilds_member_bits[(11 * player->lastOpenedSpellbookPage) + i + 63] ) 100 if (player->_achieved_awards_bits[(11 * player->lastOpenedSpellbookPage) + i + 63] )
101 { 101 {
102 if ( SBPageSSpellsTextureList[i] != PendingTexture ) 102 if ( SBPageSSpellsTextureList[i] != PendingTexture )
103 { 103 {
104 if ( quick_spell_at_page == i ) 104 if ( quick_spell_at_page == i )
105 pTexture = SBPageCSpellsTextureList[i]; 105 pTexture = SBPageCSpellsTextureList[i];