From 7de6113d908ccec0c8f1585a346bb16c5e7920f7 Mon Sep 17 00:00:00 2001 From: megamage Date: Sat, 21 Mar 2009 14:55:10 -0600 Subject: [7509] Use defines instead explcit value for talent rank cound (in general and for pets) Author: VladimirMangos --HG-- branch : trunk --- src/game/Chat.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/game/Chat.cpp') 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) -- cgit v1.2.3