diff options
author | megamage <none@none> | 2008-12-19 16:05:13 -0600 |
---|---|---|
committer | megamage <none@none> | 2008-12-19 16:05:13 -0600 |
commit | 400f7b859693eef1043a75a18c369dd871ffb721 (patch) | |
tree | 5f480c9380d4125a57cbeb4315ef22ad2ab32a71 /src/game/Guild.cpp | |
parent | cebaa3a703f36efeedc5fd786b6eacb7a93585c2 (diff) |
*Temp fix for crash caused by AV creature. Need to find a way to allow summoned creatures to use RandomMovement.
--HG--
branch : trunk
Diffstat (limited to 'src/game/Guild.cpp')
-rw-r--r-- | src/game/Guild.cpp | 2 |
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; |