summaryrefslogtreecommitdiff
path: root/src/net/ea
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-01-20 20:08:14 +0300
committerAndrei Karas <akaras@inbox.ru>2017-01-20 20:08:14 +0300
commit83d9ca38a91bd9d23cf439c3426f18b08906fc57 (patch)
tree186def6caf1cbcf4c77ad16733df4083266032bb /src/net/ea
parent3a1d496bacf7742dfbd68d0a42429cf2ef89f95e (diff)
downloadmv-83d9ca38a91bd9d23cf439c3426f18b08906fc57.tar.gz
mv-83d9ca38a91bd9d23cf439c3426f18b08906fc57.tar.bz2
mv-83d9ca38a91bd9d23cf439c3426f18b08906fc57.tar.xz
mv-83d9ca38a91bd9d23cf439c3426f18b08906fc57.zip
Add missing initialisation for Token struct.
Diffstat (limited to 'src/net/ea')
-rw-r--r--src/net/ea/token.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/net/ea/token.h b/src/net/ea/token.h
index b9c0eb1ad..1e8f72c8d 100644
--- a/src/net/ea/token.h
+++ b/src/net/ea/token.h
@@ -28,7 +28,11 @@
struct Token final
{
- Token()
+ Token() :
+ account_ID(BeingId_zero),
+ session_ID1(0),
+ session_ID2(0),
+ sex(Gender::UNSPECIFIED)
{ }
A_DELETE_COPY(Token)