1
Fork 0
mirror of https://github.com/SapphireServer/Sapphire.git synced 2025-04-27 22:57:45 +00:00

its magic

This commit is contained in:
Adam 2018-03-15 02:49:35 +11:00
parent a9087289fe
commit 8bd3e871d6

View file

@ -382,7 +382,10 @@ void Core::InstanceContent::onEnterTerritory( Entity::Player& player, uint32_t e
if( !hasPlayerPreviouslySpawned( player ) )
{
m_spawnedPlayers.insert( player.getId() );
player.directorPlayScene( getDirectorId(), 1, 139699201, 0, 0x9 );
player.directorPlayScene( getDirectorId(), 1, NO_DEFAULT_CAMERA | CONDITION_CUTSCENE | SILENT_ENTER_TERRI_ENV |
HIDE_HOTBAR | SILENT_ENTER_TERRI_BGM | SILENT_ENTER_TERRI_SE |
DISABLE_STEALTH | 0x00100000 | LOCK_HUD | LOCK_HOTBAR | // todo: wtf is 0x00100000
DISABLE_CANCEL_EMOTE, 0, 0x9 );
}
else
player.directorPlayScene( getDirectorId(), 2, NO_DEFAULT_CAMERA | HIDE_HOTBAR, 0, 0x9 );