summaryrefslogtreecommitdiff
path: root/src/party.cpp
diff options
context:
space:
mode:
authorBjørn Lindeijer <bjorn@lindeijer.nl>2009-03-27 21:13:02 +0100
committerBjørn Lindeijer <bjorn@lindeijer.nl>2009-03-27 21:13:02 +0100
commit60f10c242fc4f99b0ab0f8d8c6d4b4acde0022cd (patch)
tree2a3f33bb7af2bf88998a5337e1a739ea12712519 /src/party.cpp
parent712ca58c011123505c807266dcc8d9d84ca1aa44 (diff)
downloadmana-60f10c242fc4f99b0ab0f8d8c6d4b4acde0022cd.tar.gz
mana-60f10c242fc4f99b0ab0f8d8c6d4b4acde0022cd.tar.bz2
mana-60f10c242fc4f99b0ab0f8d8c6d4b4acde0022cd.tar.xz
mana-60f10c242fc4f99b0ab0f8d8c6d4b4acde0022cd.zip
Clean up of most of the Network pointers
Now that messages can be sent without requiring a pointer to the Network instance, a lot of cleanup was possible.
Diffstat (limited to 'src/party.cpp')
-rw-r--r--src/party.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/party.cpp b/src/party.cpp
index 4a7912ee..2295cb81 100644
--- a/src/party.cpp
+++ b/src/party.cpp
@@ -33,9 +33,8 @@
#include "utils/gettext.h"
#include "utils/strprintf.h"
-Party::Party(Network *network) :
- mNetwork(network),
- mInviteListener(network, &mInParty)
+Party::Party() :
+ mInviteListener(&mInParty)
{
}