diff options
Diffstat (limited to 'src/game/SpellHandler.cpp')
-rw-r--r-- | src/game/SpellHandler.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game/SpellHandler.cpp b/src/game/SpellHandler.cpp index 231d0c4e0b4..43f68e14794 100644 --- a/src/game/SpellHandler.cpp +++ b/src/game/SpellHandler.cpp @@ -582,7 +582,7 @@ void WorldSession::HandleMirrrorImageDataRequest( WorldPacket & recv_data ) data << (uint32)creator->GetDisplayId(); if (creator->GetTypeId() == TYPEID_PLAYER) { - Player * pCreator = (Player *)creator; + Player * pCreator = creator->ToPlayer(); data << (uint8)pCreator->getRace(); data << (uint8)pCreator->getGender(); data << (uint8)pCreator->getClass(); |