Mercurial > mm7
diff UI/Books/UISpellBook.cpp @ 2197:42c8807225a2
UIMSG_SpellBook_PressTab continue
author | Ritor1 |
---|---|
date | Fri, 31 Jan 2014 17:30:36 +0600 |
parents | d28d3c006077 |
children | e18200fcfb50 |
line wrap: on
line diff
--- a/UI/Books/UISpellBook.cpp Fri Jan 31 00:37:26 2014 +0100 +++ b/UI/Books/UISpellBook.cpp Fri Jan 31 17:30:36 2014 +0600 @@ -129,11 +129,11 @@ pRenderer->DrawTextureIndexed(pX_coord, pY_coord, SBPageCSpellsTextureList[v10]); } } - pX_coord = (unsigned int)&player->pActiveSkills[12]; - pY_coord = (unsigned int)&player->pActiveSkills[12]; + //pX_coord = (unsigned int)&player->pActiveSkills[PLAYER_SKILL_FIRE]; + //pY_coord = (unsigned int)&player->pActiveSkills[PLAYER_SKILL_FIRE]; for ( uint i = 0; i < 9; i++ ) { - if ( player->pActiveSkills[12 + i] ) + if ( player->pActiveSkills[PLAYER_SKILL_FIRE + i] ) { if ( player->lastOpenedSpellbookPage == i ) {