mirror of
https://github.com/mangosfour/server.git
synced 2025-12-14 07:37:01 +00:00
[7509] Use defines instead explcit value for talent rank cound (in general and for pets)
This commit is contained in:
parent
befa6c5c86
commit
695ceabe3e
9 changed files with 27 additions and 24 deletions
|
|
@ -1352,7 +1352,7 @@ uint32 ChatHandler::extractSpellIdFromLink(char* text)
|
|||
return 0;
|
||||
|
||||
int32 rank = param1_str ? (uint32)atol(param1_str) : 0;
|
||||
if(rank >= 5)
|
||||
if(rank >= MAX_TALENT_RANK)
|
||||
return 0;
|
||||
|
||||
if(rank < 0)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue