mirror of
https://github.com/SapphireServer/Sapphire.git
synced 2025-06-07 16:47:44 +00:00
Scripts/Quests
extra style changes
This commit is contained in:
parent
3827c359d7
commit
dfb3622ff7
1 changed files with 4 additions and 4 deletions
|
@ -53,17 +53,17 @@ public:
|
|||
void onTalk(uint32_t eventId, Entity::Player& player, uint64_t actorId) override
|
||||
{
|
||||
auto pEventMgr = m_framework->get< World::Manager::EventMgr >();
|
||||
auto actor = pEventMgr->mapEventActorToRealActor( static_cast<uint32_t>(actorId) );
|
||||
auto actor = pEventMgr->mapEventActorToRealActor( static_cast<uint32_t>( actorId ) );
|
||||
|
||||
if (actor == Actor0)
|
||||
if ( actor == Actor0 )
|
||||
{
|
||||
Scene00000( player );
|
||||
}
|
||||
else if (actor == Actor1)
|
||||
else if ( actor == Actor1 )
|
||||
{
|
||||
Scene00002( player );
|
||||
}
|
||||
else if (actor == Actor2)
|
||||
else if ( actor == Actor2 )
|
||||
{
|
||||
Scene00003( player );
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue