1
Fork 0
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:
AussieGlenn 2019-02-03 09:42:40 +10:00
parent 3827c359d7
commit dfb3622ff7

View file

@ -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 );
}