[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:
1 parent
42d5b79eea
commit
7de6113d90
8 files changed
+26
-23
No files matched your search
@@ -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]))
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user