summaryrefslogtreecommitdiff
path: root/src/net/ea/beinghandler.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/net/ea/beinghandler.cpp')
-rw-r--r--src/net/ea/beinghandler.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/net/ea/beinghandler.cpp b/src/net/ea/beinghandler.cpp
index 29c10900..80e9b350 100644
--- a/src/net/ea/beinghandler.cpp
+++ b/src/net/ea/beinghandler.cpp
@@ -543,8 +543,7 @@ void BeingHandler::handleMessage(MessageIn &msg)
gmstatus = msg.readInt16();
if (gmstatus & 0x80)
- if (Player *player = dynamic_cast<Player*>(dstBeing))
- player->setGM(true);
+ player->setGM(true);
if (msg.getId() == SMSG_PLAYER_UPDATE_1)
{