mirror of
https://github.com/SapphireServer/Sapphire.git
synced 2025-05-30 05:07:46 +00:00
SubFst003 typo and style
This commit is contained in:
parent
138dd3d536
commit
f2923f1069
1 changed files with 2 additions and 3 deletions
|
@ -50,7 +50,7 @@ class SubFst003 : public EventScript
|
|||
{
|
||||
Scene00000( player );
|
||||
}
|
||||
else if(actor == SubFst003::Actor1 )
|
||||
else if( actor == SubFst003::Actor1 )
|
||||
{
|
||||
Scene00001( player );
|
||||
}
|
||||
|
@ -101,10 +101,9 @@ class SubFst003 : public EventScript
|
|||
player.playScene( getId(), 100, HIDE_HOTBAR,
|
||||
[&]( Entity::Player& player, const Event::SceneResult& result )
|
||||
{
|
||||
player.setQuestUI8BH( getId(), 0);
|
||||
|
||||
if( player.giveQuestRewards( getId(), 0 ) )
|
||||
{
|
||||
player.setQuestUI8BH( getId(), 0 );
|
||||
player.finishQuest( getId() );
|
||||
}
|
||||
} );
|
||||
|
|
Loading…
Add table
Reference in a new issue