Replace switch with more proper way of checking allowSecurityLevel, and a few other minor changes.

--HG--
branch : trunk
This commit is contained in:
Chaz Brown
2009-08-29 08:51:24 -04:00
parent 2345c5ca8d
commit 055acc4b8a
3 changed files with 11 additions and 34 deletions
+2
View File
@@ -592,6 +592,8 @@ class World
void UpdateRealmCharCount(uint32 accid);
void UpdateAllowedSecurity();
LocaleConstant GetAvailableDbcLocale(LocaleConstant locale) const { if(m_availableDbcLocaleMask & (1 << locale)) return locale; else return m_defaultDbcLocale; }
//used World DB version