summaryrefslogtreecommitdiff
path: root/src/net/tmwa/partyhandler.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/net/tmwa/partyhandler.cpp')
-rw-r--r--src/net/tmwa/partyhandler.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/net/tmwa/partyhandler.cpp b/src/net/tmwa/partyhandler.cpp
index 4753dac1..b8d9c3c7 100644
--- a/src/net/tmwa/partyhandler.cpp
+++ b/src/net/tmwa/partyhandler.cpp
@@ -43,7 +43,7 @@ extern Net::PartyHandler *partyHandler;
namespace TmwAthena {
-PartyTab *partyTab = 0;
+PartyTab *partyTab = nullptr;
Party *taParty;
PartyHandler::PartyHandler():
@@ -70,7 +70,7 @@ PartyHandler::PartyHandler():
PartyHandler::~PartyHandler()
{
delete partyTab;
- partyTab = 0;
+ partyTab = nullptr;
}
void PartyHandler::handleMessage(MessageIn &msg)
@@ -237,7 +237,7 @@ void PartyHandler::handleMessage(MessageIn &msg)
if (partyTab)
{
delete partyTab;
- partyTab = 0;
+ partyTab = nullptr;
}
socialWindow->removeTab(taParty);
}
@@ -248,7 +248,7 @@ void PartyHandler::handleMessage(MessageIn &msg)
if (Being *b = actorSpriteManager->findBeing(id))
{
- b->setParty(NULL);
+ b->setParty(nullptr);
}
taParty->removeMember(id);