summaryrefslogtreecommitdiff
path: root/src/net
diff options
context:
space:
mode:
Diffstat (limited to 'src/net')
-rw-r--r--src/net/eathena/gamehandler.cpp2
-rw-r--r--src/net/tmwa/gamehandler.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/net/eathena/gamehandler.cpp b/src/net/eathena/gamehandler.cpp
index 989aa0665..2f425b52c 100644
--- a/src/net/eathena/gamehandler.cpp
+++ b/src/net/eathena/gamehandler.cpp
@@ -199,7 +199,7 @@ void GameHandler::processMapLogin(Net::MessageIn &msg)
mLastHost &= 0xffffff;
- GameHandler *const g = dynamic_cast<GameHandler*>(gameHandler);
+ GameHandler *const g = static_cast<GameHandler*>(gameHandler);
if (g)
{
Network *const network = g->mNetwork;
diff --git a/src/net/tmwa/gamehandler.cpp b/src/net/tmwa/gamehandler.cpp
index 544b93802..f804b61f2 100644
--- a/src/net/tmwa/gamehandler.cpp
+++ b/src/net/tmwa/gamehandler.cpp
@@ -180,7 +180,7 @@ void GameHandler::processMapLogin(Net::MessageIn &msg)
mLastHost &= 0xffffff;
- GameHandler *const g = dynamic_cast<GameHandler*>(gameHandler);
+ GameHandler *const g = static_cast<GameHandler*>(gameHandler);
if (g)
{
Network *const network = g->mNetwork;