summaryrefslogtreecommitdiff
path: root/src/net/ea
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-12-02 12:53:06 +0300
committerAndrei Karas <akaras@inbox.ru>2014-12-02 12:53:06 +0300
commitc26b6e2c74750c1f4f99ef5d673ea6fc2aac767b (patch)
treea292a697a38e6bc3b5992ee2f7e4ac2e55b96a52 /src/net/ea
parent892424cc005d41b8976ae9193a3a4161b5c1950f (diff)
downloadmanaplus-c26b6e2c74750c1f4f99ef5d673ea6fc2aac767b.tar.gz
manaplus-c26b6e2c74750c1f4f99ef5d673ea6fc2aac767b.tar.bz2
manaplus-c26b6e2c74750c1f4f99ef5d673ea6fc2aac767b.tar.xz
manaplus-c26b6e2c74750c1f4f99ef5d673ea6fc2aac767b.zip
Rename PlayerDeathListener into PlayerPostDeathListener.
Diffstat (limited to 'src/net/ea')
-rw-r--r--src/net/ea/playerhandler.cpp6
1 files changed, 3 insertions, 3 deletions
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);