summaryrefslogtreecommitdiff
path: root/src/net/eathena
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-05-03 22:44:42 +0300
committerAndrei Karas <akaras@inbox.ru>2015-05-03 22:44:42 +0300
commitb94678289a5e671fc168ec58525b7aae2a56e6ec (patch)
tree475822a9d1acae55f2602facbbb14dba4347fb67 /src/net/eathena
parent602fd127d09c995bc5470218c862b2cebfc558d5 (diff)
downloadmv-b94678289a5e671fc168ec58525b7aae2a56e6ec.tar.gz
mv-b94678289a5e671fc168ec58525b7aae2a56e6ec.tar.bz2
mv-b94678289a5e671fc168ec58525b7aae2a56e6ec.tar.xz
mv-b94678289a5e671fc168ec58525b7aae2a56e6ec.zip
Remove useless dynamic_cast.
Diffstat (limited to 'src/net/eathena')
-rw-r--r--src/net/eathena/gamehandler.cpp2
1 files changed, 1 insertions, 1 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;