aboutsummaryrefslogtreecommitdiff
path: root/src/server/bnetserver/Authentication/AuthCodes.cpp
diff options
context:
space:
mode:
authorShauren <shauren.trinity@gmail.com>2015-10-10 20:19:41 +0200
committerShauren <shauren.trinity@gmail.com>2015-10-10 20:19:41 +0200
commitee2b43e368433f0451d8d3e49a4ba43d83c490ff (patch)
tree67c59f83ac4fea9727979072ddabffd1675a39ab /src/server/bnetserver/Authentication/AuthCodes.cpp
parent2e894d0f18773f862148f0c188f78a45b36f159f (diff)
Core/Battle.net: Updated packet enums and added new build data
Diffstat (limited to 'src/server/bnetserver/Authentication/AuthCodes.cpp')
-rw-r--r--src/server/bnetserver/Authentication/AuthCodes.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/server/bnetserver/Authentication/AuthCodes.cpp b/src/server/bnetserver/Authentication/AuthCodes.cpp
index a717263786e..e7ca768e637 100644
--- a/src/server/bnetserver/Authentication/AuthCodes.cpp
+++ b/src/server/bnetserver/Authentication/AuthCodes.cpp
@@ -24,6 +24,7 @@ namespace AuthHelper
// List of client builds for verbose version info in realmlist packet
static std::vector<RealmBuildInfo> const ClientBuilds =
{
+ { 20574, 6, 2, 2, 'a' },
{ 20490, 6, 2, 2, 'a' },
{ 15595, 4, 3, 4, ' ' },
{ 14545, 4, 2, 2, ' ' },
@@ -43,7 +44,7 @@ namespace AuthHelper
RealmBuildInfo const* GetBuildInfo(int build)
{
- for (int32 i = 0; ClientBuilds.size(); ++i)
+ for (int32 i = 0; i < ClientBuilds.size(); ++i)
if (ClientBuilds[i].Build == build)
return &ClientBuilds[i];