mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-02-05 16:39:08 +01:00
Core: Added 4.3.4 opcodes from WPP, commented out some code to fix compile (switches with opcodes - duplicate case 0: labels) and fixed authentication
This commit is contained in:
@@ -19,7 +19,7 @@
|
||||
|
||||
namespace AuthHelper
|
||||
{
|
||||
bool IsAcceptedBuild(int build)
|
||||
bool IsAcceptedClientBuild(int build)
|
||||
{
|
||||
static int accepted_versions[] = TRINITYCORE_ACCEPTED_CLIENT_BUILD;
|
||||
|
||||
@@ -29,9 +29,4 @@ namespace AuthHelper
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
bool IsAcceptedClientBuild(int build)
|
||||
{
|
||||
return (IsAcceptedBuild(build));
|
||||
}
|
||||
};
|
||||
|
||||
@@ -65,13 +65,12 @@ enum LoginResult
|
||||
LOGIN_LOCKED_ENFORCED = 0x10,
|
||||
};
|
||||
|
||||
#define TRINITYCORE_ACCEPTED_CLIENT_BUILD {14545, 14480, 14333, 14007, 0}
|
||||
#define TRINITYCORE_ACCEPTED_CLIENT_BUILD {15595, 12340, 0} // accept one Cataclysm and one Wrath of the Lich King build
|
||||
|
||||
|
||||
namespace AuthHelper
|
||||
{
|
||||
bool IsAcceptedClientBuild(int build);
|
||||
bool IsAcceptedBuild(int build);
|
||||
};
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user