1
Fork 0
mirror of https://github.com/SapphireServer/Sapphire.git synced 2025-04-25 14:07:46 +00:00

Fixed compiler warning in eventhandlers

This commit is contained in:
Mordred 2017-08-17 17:39:08 +02:00
parent 79173bcbcd
commit f0d83cadce

View file

@ -68,7 +68,7 @@ void Core::Network::GameConnection::eventHandler( const Core::Network::Packets::
std::string eventName = Event::getEventName( eventId );
if( !g_scriptMgr.onEmote( pPlayer, actorId, eventId, emoteId ) )
if( !g_scriptMgr.onEmote( pPlayer, actorId, eventId, static_cast< uint8_t >( emoteId ) ) )
abortEventFunc( pPlayer, actorId, eventId );
break;
}