diff options
author | Andrei Karas <akaras@inbox.ru> | 2017-01-20 20:08:14 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2017-01-20 20:08:14 +0300 |
commit | 83d9ca38a91bd9d23cf439c3426f18b08906fc57 (patch) | |
tree | 186def6caf1cbcf4c77ad16733df4083266032bb /src/net | |
parent | 3a1d496bacf7742dfbd68d0a42429cf2ef89f95e (diff) | |
download | manaverse-83d9ca38a91bd9d23cf439c3426f18b08906fc57.tar.gz manaverse-83d9ca38a91bd9d23cf439c3426f18b08906fc57.tar.bz2 manaverse-83d9ca38a91bd9d23cf439c3426f18b08906fc57.tar.xz manaverse-83d9ca38a91bd9d23cf439c3426f18b08906fc57.zip |
Add missing initialisation for Token struct.
Diffstat (limited to 'src/net')
-rw-r--r-- | src/net/ea/token.h | 6 |
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) |