diff UI/UICharacter.cpp @ 2197:42c8807225a2

UIMSG_SpellBook_PressTab continue
author Ritor1
date Fri, 31 Jan 2014 17:30:36 +0600
parents e0863f5beee0
children e18200fcfb50
line wrap: on
line diff
--- a/UI/UICharacter.cpp	Fri Jan 31 00:37:26 2014 +0100
+++ b/UI/UICharacter.cpp	Fri Jan 31 17:30:36 2014 +0600
@@ -2517,8 +2517,8 @@
           return;
         }
         v50 = 0;
-        if ( pSkillType == 2 && (unsigned __int16)(pPlayers[uActiveCharacter]->pActiveSkills[2] & 0xFFC0)
-          || pSkillType == 1 && (signed int)SkillToMastery(pPlayers[uActiveCharacter]->pActiveSkills[1]) >= 3 )
+        if ( pSkillType == 2 && (unsigned __int16)(pPlayers[uActiveCharacter]->pActiveSkills[PLAYER_SKILL_DAGGER] & 0xFFC0)
+          || pSkillType == 1 && (signed int)SkillToMastery(pPlayers[uActiveCharacter]->pActiveSkills[PLAYER_SKILL_SWORD]) >= 3 )
         {
           v18 = pMouse->uMouseClickX;
           v19 = pMouse->uMouseClickY;