[7509] Use defines instead explcit value for talent rank cound (in general and for pets) Author: VladimirMangos

--HG--
branch : trunk
This commit is contained in:
megamage committed 2009-03-21 14:55:10 -06:00
1 parent 42d5b79eea
commit 7de6113d90
8 files changed
+26 -23

No files matched your search

+2 -2
View File
@@ -2299,8 +2299,8 @@ bool ChatHandler::HandleLearnAllMyTalentsCommand(const char* /*args*/)
// search highest talent rank
uint32 spellid = 0;
int rank = 4;
for(; rank >= 0; --rank)
for(int rank = MAX_TALENT_RANK-1; rank >= 0; --rank)
{
if(talentInfo->RankID[rank]!=0)
{