From c26b6e2c74750c1f4f99ef5d673ea6fc2aac767b Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Tue, 2 Dec 2014 12:53:06 +0300 Subject: Rename PlayerDeathListener into PlayerPostDeathListener. --- src/net/ea/playerhandler.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/net/ea') diff --git a/src/net/ea/playerhandler.cpp b/src/net/ea/playerhandler.cpp index baea3b1e6..940b629d4 100644 --- a/src/net/ea/playerhandler.cpp +++ b/src/net/ea/playerhandler.cpp @@ -45,7 +45,7 @@ #include "resources/map/map.h" -#include "listeners/playerdeathlistener.h" +#include "listeners/playerpostdeathlistener.h" #include "listeners/weightlistener.h" #include "net/messagein.h" @@ -65,7 +65,7 @@ static const int MAP_TELEPORT_SCROLL_DISTANCE = 8; namespace { WeightListener weightListener; - PlayerDeathListener deathListener; + PlayerPostDeathListener postDeathListener; } // anonymous namespace namespace Ea @@ -196,7 +196,7 @@ void PlayerHandler::processPlayerStatUpdate1(Net::MessageIn &msg) _("Revive"), DialogType::OK, false, true, nullptr, 260); - deathNotice->addActionListener(&deathListener); + deathNotice->addActionListener(&postDeathListener); if (localPlayer->getCurrentAction() != BeingAction::DEAD) { localPlayer->setAction(BeingAction::DEAD, 0); -- cgit v1.2.3-70-g09d2