diff --git a/src/servers/Scripts/quest/subquest/gridania/SubFst045.cpp b/src/servers/Scripts/quest/subquest/gridania/SubFst045.cpp index 438f21ef..850c91b8 100644 --- a/src/servers/Scripts/quest/subquest/gridania/SubFst045.cpp +++ b/src/servers/Scripts/quest/subquest/gridania/SubFst045.cpp @@ -58,28 +58,28 @@ class SubFst045 : void Scene00000( Entity::Player& player ) { player.playScene( getId(), 0, HIDE_HOTBAR, - [&]( Entity::Player& player, const Event::SceneResult& result ) - { - if( result.param2 == 1 ) - { - player.updateQuest( getId(), SeqFinish ); - } - } ); + [ & ]( Entity::Player& player, const Event::SceneResult& result ) + { + if( result.param2 == 1 ) + { + player.updateQuest( getId(), SeqFinish ); + } + } ); } void Scene00001( Entity::Player& player ) { player.playScene( getId(), 1, HIDE_HOTBAR, - [&]( Entity::Player& player, const Event::SceneResult& result ) - { - if( result.param2 == 1 ) - { - if( player.giveQuestRewards( getId(), 0 ) ) - { - player.finishQuest( getId() ); - } - } - } ); + [ & ]( Entity::Player& player, const Event::SceneResult& result ) + { + if( result.param2 == 1 ) + { + if( player.giveQuestRewards( getId(), 0 ) ) + { + player.finishQuest( getId() ); + } + } + } ); } }; diff --git a/src/servers/Scripts/quest/subquest/limsa/SubSea051.cpp b/src/servers/Scripts/quest/subquest/limsa/SubSea051.cpp index dffb5acc..e4160310 100644 --- a/src/servers/Scripts/quest/subquest/limsa/SubSea051.cpp +++ b/src/servers/Scripts/quest/subquest/limsa/SubSea051.cpp @@ -59,28 +59,28 @@ class SubSea051 : void Scene00000( Entity::Player& player ) { player.playScene( getId(), 0, HIDE_HOTBAR, - [&]( Entity::Player& player, const Event::SceneResult& result ) - { - if( result.param2 == 1 ) - { - player.updateQuest( getId(), SeqFinish ); - } - } ); + [ & ]( Entity::Player& player, const Event::SceneResult& result ) + { + if( result.param2 == 1 ) + { + player.updateQuest( getId(), SeqFinish ); + } + } ); } void Scene00001( Entity::Player& player ) { player.playScene( getId(), 1, HIDE_HOTBAR, - [&]( Entity::Player& player, const Event::SceneResult& result ) - { - if( result.param2 == 1 ) - { - if( player.giveQuestRewards( getId(), 0 ) ) - { - player.finishQuest( getId() ); - } - } - } ); + [ & ]( Entity::Player& player, const Event::SceneResult& result ) + { + if( result.param2 == 1 ) + { + if( player.giveQuestRewards( getId(), 0 ) ) + { + player.finishQuest( getId() ); + } + } + } ); } };