[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

+1 -1
View File
@@ -1198,7 +1198,7 @@ void WorldSession::HandleInspectOpcode(WorldPacket& recv_data)
// find talent rank
uint32 curtalent_maxrank = 0;
for(uint32 k = 5; k > 0; --k)
for(uint32 k = MAX_TALENT_RANK; k > 0; --k)
{
if(talentInfo->RankID[k-1] && plr->HasSpell(talentInfo->RankID[k-1]))
{