mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-08 12:45:35 +08:00
Bump Vatsim protocol version number
This commit is contained in:
@@ -149,7 +149,7 @@ namespace BlackCore::Fsd
|
||||
const QString codecName(server.getFsdSetup().getTextCodec());
|
||||
QTextCodec *textCodec = QTextCodec::codecForName(codecName.toLocal8Bit());
|
||||
if (!textCodec) { textCodec = QTextCodec::codecForName("utf-8"); }
|
||||
const int protocolRev = (server.getServerType() == CServer::FSDServerVatsim) ? PROTOCOL_REVISION_VATSIM_AUTH : PROTOCOL_REVISION_CLASSIC;
|
||||
const int protocolRev = (server.getServerType() == CServer::FSDServerVatsim) ? PROTOCOL_REVISION_VATSIM_VELOCITY : PROTOCOL_REVISION_CLASSIC;
|
||||
|
||||
QWriteLocker l(&m_lockUserClientBuffered);
|
||||
m_server = server;
|
||||
|
||||
@@ -54,6 +54,7 @@
|
||||
#define PROTOCOL_REVISION_CLASSIC 9
|
||||
#define PROTOCOL_REVISION_VATSIM_ATC 10
|
||||
#define PROTOCOL_REVISION_VATSIM_AUTH 100
|
||||
#define PROTOCOL_REVISION_VATSIM_VELOCITY 101
|
||||
//! @}
|
||||
|
||||
namespace BlackFsdTest { class CTestFSDClient; }
|
||||
|
||||
Reference in New Issue
Block a user