diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-10-17 15:57:43 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-10-17 15:57:43 +0300 |
commit | 1c2b548e4bc8cd7243cd61bed6c68db859d843db (patch) | |
tree | e9bd0141f6880fac7ae322a29716fd07798f40b8 /src/net/eathena/familyhandler.cpp | |
parent | 418819595294569be3e2c09b49868e94d66c5de6 (diff) | |
download | mv-1c2b548e4bc8cd7243cd61bed6c68db859d843db.tar.gz mv-1c2b548e4bc8cd7243cd61bed6c68db859d843db.tar.bz2 mv-1c2b548e4bc8cd7243cd61bed6c68db859d843db.tar.xz mv-1c2b548e4bc8cd7243cd61bed6c68db859d843db.zip |
Add static in familyhandler.
Diffstat (limited to 'src/net/eathena/familyhandler.cpp')
-rw-r--r-- | src/net/eathena/familyhandler.cpp | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/src/net/eathena/familyhandler.cpp b/src/net/eathena/familyhandler.cpp index 950762573..e3df97f4f 100644 --- a/src/net/eathena/familyhandler.cpp +++ b/src/net/eathena/familyhandler.cpp @@ -32,11 +32,15 @@ extern Net::FamilyHandler *familyHandler; namespace EAthena { +int FamilyHandler::mParent1 = 0; +int FamilyHandler::mParent2 = 0; + FamilyHandler::FamilyHandler() : - MessageHandler(), - mParent1(0), - mParent2(0) + MessageHandler() { + mParent1 = 0; + mParent2 = 0; + static const uint16_t _messages[] = { SMSG_FAMILY_ASK_FOR_CHILD, |