mirror of
https://github.com/SapphireServer/Sapphire.git
synced 2025-06-07 16:47:44 +00:00
Merge branch 'quest_scripts' of https://github.com/AussieGlenn/Sapphire into quest_scripts
# Conflicts: # src/scripts/quest/subquest/limsa/SubSea012.cpp
This commit is contained in:
commit
702f81ca3b
1 changed files with 2 additions and 2 deletions
|
@ -50,12 +50,12 @@ public:
|
||||||
{
|
{
|
||||||
};
|
};
|
||||||
|
|
||||||
void onTalk(uint32_t eventId, Entity::Player& player, uint64_t actorId) override
|
void onTalk( uint32_t eventId, Entity::Player& player, uint64_t actorId ) override
|
||||||
{
|
{
|
||||||
auto pEventMgr = m_framework->get< World::Manager::EventMgr >();
|
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 );
|
Scene00000( player );
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue