mirror of
https://github.com/SapphireServer/Sapphire.git
synced 2025-05-30 05:07:46 +00:00
style typo 1
This commit is contained in:
parent
b5aaf3c764
commit
120f097853
1 changed files with 3 additions and 5 deletions
|
@ -16,8 +16,6 @@ class SubFst005 : public EventScript
|
||||||
// Quest vars / flags used
|
// Quest vars / flags used
|
||||||
// GetQuestUI8AL
|
// GetQuestUI8AL
|
||||||
|
|
||||||
// Steps in this quest ( 0 is before accepting,
|
|
||||||
// 1 is first, 255 means ready for turning it in
|
|
||||||
enum Sequence : uint8_t
|
enum Sequence : uint8_t
|
||||||
{
|
{
|
||||||
Seq0 = 0,
|
Seq0 = 0,
|
||||||
|
@ -70,10 +68,10 @@ class SubFst005 : public EventScript
|
||||||
player.playScene( m_id, 1, 0,
|
player.playScene( m_id, 1, 0,
|
||||||
[&]( Entity::Player& player, const Event::SceneResult& result )
|
[&]( Entity::Player& player, const Event::SceneResult& result )
|
||||||
{
|
{
|
||||||
if (result.param2 == 1)
|
if ( result.param2 == 1 )
|
||||||
{
|
{
|
||||||
if (player.giveQuestRewards(m_id, 0))
|
if ( player.giveQuestRewards( m_id, 0 ) )
|
||||||
player.finishQuest(m_id);
|
player.finishQuest( m_id );
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue