mirror of
https://github.com/EQEmu/Server.git
synced 2026-11-26 11:40:44 +00:00
Implemented 'enum class ClientVersion' -- added 'RoF2' to lua client version enumeration
This commit is contained in:
1 parent
52eb287082
commit
e70e443950
51 files changed
+311
-520
No files matched your search
+2
-1
@@ -89,7 +89,8 @@ Client::Client(EQStreamInterface* ieqs)
|
||||
ClientVersionBit = 0;
|
||||
numclients++;
|
||||
|
||||
ClientVersionBit = 1 << (eqs->ClientVersion() - 1);
|
||||
if (eqs->GetClientVersion() != ClientVersion::Unknown)
|
||||
ClientVersionBit = 1 << (static_cast<unsigned int>(eqs->GetClientVersion()) - 1);
|
||||
}
|
||||
|
||||
Client::~Client() {
|
||||
|
||||
Reference in new issue
Block a user