summaryrefslogtreecommitdiff
path: root/src/net/eathena/familyhandler.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/net/eathena/familyhandler.cpp')
-rw-r--r--src/net/eathena/familyhandler.cpp10
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,