1
Fork 0
mirror of https://github.com/SapphireServer/Sapphire.git synced 2025-05-02 08:57:44 +00:00

fix compile warning

This commit is contained in:
GokuWeedLord 2017-12-16 19:05:14 +11:00
parent feddeec418
commit 77c6557391
3 changed files with 3 additions and 3 deletions

View file

@ -24,7 +24,7 @@ foreach(_sourcefile ${SCRIPT_FILES})
if(MSVC)
set_source_files_properties("${_file}" PROPERTIES
COMPILE_FLAGS "/Yc${CMAKE_CURRENT_SOURCE_DIR}/ScriptObject.h"
COMPILE_FLAGS "/YuScriptObject.h"
)
set_target_properties(${_file} PROPERTIES
CXX_STANDARD 14

View file

@ -6,7 +6,7 @@
class OpeningLimsa : public EventScript
{
private:;
private:
static constexpr auto ERANGE_HOWTO_ANN_AND_QUEST = 4101831;
static constexpr auto ERANGE_HOWTO_QUEST_REWARD = 4102066;
static constexpr auto ERANGE_SEQ_1_CLOSED_1 = 4101785;

View file

@ -133,7 +133,7 @@ public:
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 )
Scene00000( player );