aboutsummaryrefslogtreecommitdiff
path: root/src/server/scripts
diff options
context:
space:
mode:
authorlinencloth <none@none>2010-09-17 07:04:29 +0200
committerlinencloth <none@none>2010-09-17 07:04:29 +0200
commitd8a854d6e04cecee59fab0ad40c22733d7f67020 (patch)
tree8e2e977c32e85acea3dad72d65e47ed760f87fee /src/server/scripts
parent5de48a67c6b650e98271acc704de8c4ed432bf4f (diff)
Core: Cleanup locale handling.
It also fixes the recent problem of strange strings. --HG-- branch : trunk
Diffstat (limited to 'src/server/scripts')
-rw-r--r--src/server/scripts/Kalimdor/azshara.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server/scripts/Kalimdor/azshara.cpp b/src/server/scripts/Kalimdor/azshara.cpp
index d476b790a4a..8b9eef64f93 100644
--- a/src/server/scripts/Kalimdor/azshara.cpp
+++ b/src/server/scripts/Kalimdor/azshara.cpp
@@ -417,7 +417,7 @@ public:
void SendText(int32 iTextEntry, Player* pPlayer)
{
- int loc_idx = pPlayer->GetSession()->GetSessionDbLocaleIndex();
+ LocaleConstant loc_idx = pPlayer->GetSession()->GetSessionDbLocaleIndex();
const char* text = sObjectMgr.GetTrinityString(iTextEntry, loc_idx);
sWorld.SendServerMessage(SERVER_MSG_STRING, text, pPlayer);
}