aboutsummaryrefslogtreecommitdiff
path: root/src/game/MiscHandler.cpp
diff options
context:
space:
mode:
authorDrahy <none@none>2009-07-27 07:40:52 +0200
committerDrahy <none@none>2009-07-27 07:40:52 +0200
commitafd5658de56d471f0e364f19ed13cccc84175d39 (patch)
tree55818fb43a749dad720dce1301b9aa68649863ec /src/game/MiscHandler.cpp
parent6a8484ce25f5f278f6546177c57eb74fa556dfd7 (diff)
parent190863e5a58364a9f42336e300c836d9ec6242ad (diff)
* Merge
--HG-- branch : trunk
Diffstat (limited to 'src/game/MiscHandler.cpp')
-rw-r--r--src/game/MiscHandler.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game/MiscHandler.cpp b/src/game/MiscHandler.cpp
index aeec27ced32..2488e7696e0 100644
--- a/src/game/MiscHandler.cpp
+++ b/src/game/MiscHandler.cpp
@@ -1493,7 +1493,7 @@ void WorldSession::HandleSetTitleOpcode( WorldPacket & recv_data )
recv_data >> title;
// -1 at none
- if(title > 0 && title < 192)
+ if(title > 0 && title < MAX_TITLE_INDEX)
{
if(!GetPlayer()->HasTitle(title))
return;