summaryrefslogtreecommitdiff
path: root/src/pso
diff options
context:
space:
mode:
Diffstat (limited to 'src/pso')
-rw-r--r--src/pso/TProtocol.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/pso/TProtocol.cpp b/src/pso/TProtocol.cpp
index 895a09a..58eaa56 100644
--- a/src/pso/TProtocol.cpp
+++ b/src/pso/TProtocol.cpp
@@ -14,8 +14,7 @@
OBJECT_NAME(TProtocol);
packet *server_packet = nullptr;
-// Seems like this is 1 if it's the full release, and 0 if it's the trial edition.
-int maybe_release_flag = 1;
+int enable_v2_features = 1;
u32 new_ip_addr;
u16 new_port;
TPlyMeetUserExtension meet_user_settings;
@@ -77,7 +76,7 @@ void TProtocol::recv_room_info(packet &pkt) {
m_lobby_list_count = tmp.header.flags;
- if (maybe_release_flag) {
+ if (enable_v2_features) {
for (int i = 0; i < m_lobby_list_count; ++i) {
m_lobby_entries[i] = tmp.entries[i];
}