summaryrefslogtreecommitdiff
path: root/src/net/ea/partyhandler.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/net/ea/partyhandler.cpp')
-rw-r--r--src/net/ea/partyhandler.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/net/ea/partyhandler.cpp b/src/net/ea/partyhandler.cpp
index f514c3b6..27e19392 100644
--- a/src/net/ea/partyhandler.cpp
+++ b/src/net/ea/partyhandler.cpp
@@ -42,7 +42,8 @@ Net::PartyHandler *partyHandler = 0;
namespace EAthena {
-PartyHandler::PartyHandler()
+PartyHandler::PartyHandler():
+ mShareExp(PARTY_SHARE_UNKNOWN), mShareItems(PARTY_SHARE_UNKNOWN)
{
static const Uint16 _messages[] = {
SMSG_PARTY_CREATE,
@@ -171,7 +172,7 @@ void PartyHandler::handleMessage(MessageIn &msg)
case PARTY_SHARE_NO:
if (mShareExp == PARTY_SHARE_NO)
break;
- mShareExp =PARTY_SHARE_NO;
+ mShareExp = PARTY_SHARE_NO;
partyTab->chatLog(_("Experience sharing disabled."), BY_SERVER);
break;
case PARTY_SHARE_NOT_POSSIBLE: