diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-12-02 12:53:06 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-12-02 12:53:06 +0300 |
commit | c26b6e2c74750c1f4f99ef5d673ea6fc2aac767b (patch) | |
tree | a292a697a38e6bc3b5992ee2f7e4ac2e55b96a52 /src/net | |
parent | 892424cc005d41b8976ae9193a3a4161b5c1950f (diff) | |
download | plus-c26b6e2c74750c1f4f99ef5d673ea6fc2aac767b.tar.gz plus-c26b6e2c74750c1f4f99ef5d673ea6fc2aac767b.tar.bz2 plus-c26b6e2c74750c1f4f99ef5d673ea6fc2aac767b.tar.xz plus-c26b6e2c74750c1f4f99ef5d673ea6fc2aac767b.zip |
Rename PlayerDeathListener into PlayerPostDeathListener.
Diffstat (limited to 'src/net')
-rw-r--r-- | src/net/ea/playerhandler.cpp | 6 |
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); |