From 3ae54d3db0749364d56036841a184921d6330f5c Mon Sep 17 00:00:00 2001 From: collett Date: Sat, 16 May 2020 06:13:07 +0900 Subject: [PATCH] fix build --- src/world/Manager/EventMgr.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/world/Manager/EventMgr.cpp b/src/world/Manager/EventMgr.cpp index 007a2003..00505a41 100644 --- a/src/world/Manager/EventMgr.cpp +++ b/src/world/Manager/EventMgr.cpp @@ -11,7 +11,7 @@ using namespace Sapphire::Common; std::string Sapphire::World::Manager::EventMgr::getEventName( uint32_t eventId ) { auto& exdData = Common::Service< Data::ExdDataGenerated >::ref(); - uint16_t eventType = eventId >> 16; + auto eventType = static_cast< Event::EventHandler::EventHandlerType >( eventId >> 16 ); auto unknown = std::string{ "unknown" };