summaryrefslogtreecommitdiff
path: root/src/net
diff options
context:
space:
mode:
Diffstat (limited to 'src/net')
-rw-r--r--src/net/eathena/playerhandler.cpp2
-rw-r--r--src/net/eathena/playerhandler.h2
-rw-r--r--src/net/playerhandler.h2
-rw-r--r--src/net/tmwa/playerhandler.cpp2
-rw-r--r--src/net/tmwa/playerhandler.h2
5 files changed, 5 insertions, 5 deletions
diff --git a/src/net/eathena/playerhandler.cpp b/src/net/eathena/playerhandler.cpp
index f2627c605..83cbec9ba 100644
--- a/src/net/eathena/playerhandler.cpp
+++ b/src/net/eathena/playerhandler.cpp
@@ -277,7 +277,7 @@ void PlayerHandler::setDestination(const int x, const int y,
static_cast<unsigned char>(direction), "destination");
}
-void PlayerHandler::changeAction(const BeingAction::Action &action) const
+void PlayerHandler::changeAction(const BeingActionT &action) const
{
unsigned char type;
switch (action)
diff --git a/src/net/eathena/playerhandler.h b/src/net/eathena/playerhandler.h
index 49572f0b1..5207b4ce7 100644
--- a/src/net/eathena/playerhandler.h
+++ b/src/net/eathena/playerhandler.h
@@ -51,7 +51,7 @@ class PlayerHandler final : public MessageHandler, public Ea::PlayerHandler
void setDirection(const unsigned char direction) const override final;
void setDestination(const int x, const int y,
const int direction) const override final;
- void changeAction(const BeingAction::Action &action)
+ void changeAction(const BeingActionT &action)
const override final;
void updateStatus(const uint8_t status) const override final;
diff --git a/src/net/playerhandler.h b/src/net/playerhandler.h
index 6f31cf7ac..3cb104d2c 100644
--- a/src/net/playerhandler.h
+++ b/src/net/playerhandler.h
@@ -63,7 +63,7 @@ class PlayerHandler notfinal
virtual void setDestination(const int x, const int y,
const int direction) const = 0;
- virtual void changeAction(const BeingAction::Action &action) const = 0;
+ virtual void changeAction(const BeingActionT &action) const = 0;
virtual void respawn() const = 0;
diff --git a/src/net/tmwa/playerhandler.cpp b/src/net/tmwa/playerhandler.cpp
index d2871a456..8a730db8f 100644
--- a/src/net/tmwa/playerhandler.cpp
+++ b/src/net/tmwa/playerhandler.cpp
@@ -194,7 +194,7 @@ void PlayerHandler::setDestination(const int x, const int y,
static_cast<unsigned char>(direction), "destination");
}
-void PlayerHandler::changeAction(const BeingAction::Action &action) const
+void PlayerHandler::changeAction(const BeingActionT &action) const
{
char type;
switch (action)
diff --git a/src/net/tmwa/playerhandler.h b/src/net/tmwa/playerhandler.h
index d831d7ab3..f4e9e1e44 100644
--- a/src/net/tmwa/playerhandler.h
+++ b/src/net/tmwa/playerhandler.h
@@ -51,7 +51,7 @@ class PlayerHandler final : public MessageHandler, public Ea::PlayerHandler
void setDirection(const unsigned char direction) const override final;
void setDestination(const int x, const int y,
const int direction) const override final;
- void changeAction(const BeingAction::Action &action)
+ void changeAction(const BeingActionT &action)
const override final;
void requestOnlineList() const override final;
void updateStatus(const uint8_t status) const override final;