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:
parent
79173bcbcd
commit
f0d83cadce
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue