aboutsummaryrefslogtreecommitdiff
path: root/src/game/Guild.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/game/Guild.cpp')
-rw-r--r--src/game/Guild.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game/Guild.cpp b/src/game/Guild.cpp
index 06eef145af5..df2554db9ea 100644
--- a/src/game/Guild.cpp
+++ b/src/game/Guild.cpp
@@ -380,7 +380,7 @@ bool Guild::FillPlayerData(uint64 guid, MemberSlot* memslot)
return false;
plLevel = Player::GetUInt32ValueFromDB(UNIT_FIELD_LEVEL, guid);
- if(plLevel<1||plLevel>255) // can be at broken `data` field
+ if(plLevel<1||plLevel>STRONG_MAX_LEVEL) // can be at broken `data` field
{
sLog.outError("Player (GUID: %u) has a broken data in field `characters`.`data`.",GUID_LOPART(guid));
return false;