mirror of
https://github.com/SapphireServer/Sapphire.git
synced 2025-05-03 01:07:47 +00:00
fix compile warning
This commit is contained in:
parent
feddeec418
commit
77c6557391
3 changed files with 3 additions and 3 deletions
|
@ -24,7 +24,7 @@ foreach(_sourcefile ${SCRIPT_FILES})
|
||||||
|
|
||||||
if(MSVC)
|
if(MSVC)
|
||||||
set_source_files_properties("${_file}" PROPERTIES
|
set_source_files_properties("${_file}" PROPERTIES
|
||||||
COMPILE_FLAGS "/Yc${CMAKE_CURRENT_SOURCE_DIR}/ScriptObject.h"
|
COMPILE_FLAGS "/YuScriptObject.h"
|
||||||
)
|
)
|
||||||
set_target_properties(${_file} PROPERTIES
|
set_target_properties(${_file} PROPERTIES
|
||||||
CXX_STANDARD 14
|
CXX_STANDARD 14
|
||||||
|
|
|
@ -6,7 +6,7 @@
|
||||||
|
|
||||||
class OpeningLimsa : public EventScript
|
class OpeningLimsa : public EventScript
|
||||||
{
|
{
|
||||||
private:;
|
private:
|
||||||
static constexpr auto ERANGE_HOWTO_ANN_AND_QUEST = 4101831;
|
static constexpr auto ERANGE_HOWTO_ANN_AND_QUEST = 4101831;
|
||||||
static constexpr auto ERANGE_HOWTO_QUEST_REWARD = 4102066;
|
static constexpr auto ERANGE_HOWTO_QUEST_REWARD = 4102066;
|
||||||
static constexpr auto ERANGE_SEQ_1_CLOSED_1 = 4101785;
|
static constexpr auto ERANGE_SEQ_1_CLOSED_1 = 4101785;
|
||||||
|
|
|
@ -133,7 +133,7 @@ public:
|
||||||
|
|
||||||
void onTalk( uint32_t eventId, Entity::Player& player, uint64_t actorId ) override
|
void onTalk( uint32_t eventId, Entity::Player& player, uint64_t actorId ) override
|
||||||
{
|
{
|
||||||
auto actor = Event::mapEventActorToRealActor( actorId );
|
auto actor = Event::mapEventActorToRealActor( static_cast< uint32_t >( actorId ) );
|
||||||
|
|
||||||
if( actor == ACTOR0 )
|
if( actor == ACTOR0 )
|
||||||
Scene00000( player );
|
Scene00000( player );
|
||||||
|
|
Loading…
Add table
Reference in a new issue