summaryrefslogtreecommitdiff
path: root/src/net/logindata.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/net/logindata.h')
-rw-r--r--src/net/logindata.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/net/logindata.h b/src/net/logindata.h
index 3beab2ffd..60d5f9607 100644
--- a/src/net/logindata.h
+++ b/src/net/logindata.h
@@ -46,6 +46,7 @@ class LoginData final
captchaResponse(),
registerUrl(),
gender(Gender::UNSPECIFIED),
+ packetVersion(0),
remember(false),
registerLogin(false),
characterSlots(9)
@@ -68,6 +69,7 @@ class LoginData final
GenderT gender;
+ int packetVersion;
bool remember; // Whether to store the username.
bool registerLogin; // Whether an account is being registered.
@@ -85,6 +87,7 @@ class LoginData final
captchaResponse.clear();
registerUrl.clear();
gender = Gender::UNSPECIFIED;
+ packetVersion = 0;
lastLogin.clear();
resetCharacterSlots();
}