summaryrefslogtreecommitdiff
path: root/src/net
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-02-16 12:22:47 +0300
committerAndrei Karas <akaras@inbox.ru>2014-02-16 12:28:10 +0300
commit0d73f54f842a9690c65faedf094112017fd07430 (patch)
treeca009ae0b366a95ad9c0fef1fa518ad60f8dbac2 /src/net
parent85e89895c4f7a53721a6bd93b47a79d5537d263a (diff)
downloadmanaverse-0d73f54f842a9690c65faedf094112017fd07430.tar.gz
manaverse-0d73f54f842a9690c65faedf094112017fd07430.tar.bz2
manaverse-0d73f54f842a9690c65faedf094112017fd07430.tar.xz
manaverse-0d73f54f842a9690c65faedf094112017fd07430.zip
move actionevent into events directory.
Diffstat (limited to 'src/net')
-rw-r--r--src/net/ea/playerhandler.cpp4
-rw-r--r--src/net/ea/tradehandler.cpp2
2 files changed, 3 insertions, 3 deletions
diff --git a/src/net/ea/playerhandler.cpp b/src/net/ea/playerhandler.cpp
index c568012fc..28f16735c 100644
--- a/src/net/ea/playerhandler.cpp
+++ b/src/net/ea/playerhandler.cpp
@@ -62,7 +62,7 @@ namespace
*/
struct WeightListener final : public ActionListener
{
- void action(const gcn::ActionEvent &event A_UNUSED)
+ void action(const ActionEvent &event A_UNUSED)
{
weightNotice = nullptr;
}
@@ -73,7 +73,7 @@ namespace
*/
struct DeathListener final : public ActionListener
{
- void action(const gcn::ActionEvent &event A_UNUSED)
+ void action(const ActionEvent &event A_UNUSED)
{
if (Net::getPlayerHandler())
Net::getPlayerHandler()->respawn();
diff --git a/src/net/ea/tradehandler.cpp b/src/net/ea/tradehandler.cpp
index adecd591f..4cb424fc9 100644
--- a/src/net/ea/tradehandler.cpp
+++ b/src/net/ea/tradehandler.cpp
@@ -50,7 +50,7 @@ namespace
{
struct RequestTradeListener : public ActionListener
{
- void action(const gcn::ActionEvent &event)
+ void action(const ActionEvent &event)
{
confirmDlg = nullptr;
const std::string &eventId = event.getId();