aboutsummaryrefslogtreecommitdiff
path: root/src/server/game/Texts/CreatureTextMgr.cpp
diff options
context:
space:
mode:
authorShauren <shauren.trinity@gmail.com>2021-05-02 00:44:31 +0200
committerShauren <shauren.trinity@gmail.com>2021-05-03 23:53:24 +0200
commit14098b28b39bc9d1ea17d18a7ecd3dd610f29cdc (patch)
tree187ff67ad06e196880bf89cf1eb749eaa3a79d37 /src/server/game/Texts/CreatureTextMgr.cpp
parentede3e415ab4dab39d2f88f588a7f0f79d6c4187b (diff)
Core/Chat: Allow incorrect spell/skill language assignments to mirror client behavior
Diffstat (limited to 'src/server/game/Texts/CreatureTextMgr.cpp')
-rw-r--r--src/server/game/Texts/CreatureTextMgr.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server/game/Texts/CreatureTextMgr.cpp b/src/server/game/Texts/CreatureTextMgr.cpp
index 430af3e1a55..3f2cdb660eb 100644
--- a/src/server/game/Texts/CreatureTextMgr.cpp
+++ b/src/server/game/Texts/CreatureTextMgr.cpp
@@ -82,7 +82,7 @@ void CreatureTextMgr::LoadCreatureTexts()
}
}
- if (!sLanguageMgr->IsLanguageExist(temp.lang))
+ if (temp.lang != LANG_UNIVERSAL && !sLanguageMgr->IsLanguageExist(temp.lang))
{
TC_LOG_ERROR("sql.sql", "CreatureTextMgr: Entry %u, Group %u in table `creature_text` using Language %u but Language does not exist.", temp.creatureId, temp.groupId, uint32(temp.lang));
temp.lang = LANG_UNIVERSAL;