diff options
| author | megamage <none@none> | 2009-03-21 14:55:10 -0600 |
|---|---|---|
| committer | megamage <none@none> | 2009-03-21 14:55:10 -0600 |
| commit | 7de6113d908ccec0c8f1585a346bb16c5e7920f7 (patch) | |
| tree | 38695302bf2f26c917fb50e02365d0c2ad49c46b /src/game/Chat.cpp | |
| parent | 42d5b79eead2608c00c1068a5eec98798333fc42 (diff) | |
[7509] Use defines instead explcit value for talent rank cound (in general and for pets) Author: VladimirMangos
--HG--
branch : trunk
Diffstat (limited to 'src/game/Chat.cpp')
| -rw-r--r-- | src/game/Chat.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game/Chat.cpp b/src/game/Chat.cpp index 5b194373f91..026111cbcb0 100644 --- a/src/game/Chat.cpp +++ b/src/game/Chat.cpp @@ -1431,7 +1431,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) |
