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

Do not unlock all minions by default

This commit is contained in:
Mordred 2019-03-31 11:39:24 +02:00
parent 859fd0044a
commit e18ec582ed
2 changed files with 3 additions and 4 deletions

View file

@ -84,8 +84,6 @@ namespace Sapphire::Network::Packets::Server
memset( m_data.unlockedPvp, 0xFF, sizeof( m_data.unlockedPvp ) ); memset( m_data.unlockedPvp, 0xFF, sizeof( m_data.unlockedPvp ) );
memset( m_data.unlockedRaids, 0xFF, sizeof( m_data.unlockedRaids ) ); memset( m_data.unlockedRaids, 0xFF, sizeof( m_data.unlockedRaids ) );
memset( m_data.unlockedTrials, 0xFF, sizeof( m_data.unlockedTrials ) ); memset( m_data.unlockedTrials, 0xFF, sizeof( m_data.unlockedTrials ) );
memset( m_data.minions, 0xFF, sizeof( m_data.minions ) );
}; };
}; };

View file

@ -71,8 +71,9 @@ namespace Sapphire::Network::Packets::Server
m_data.title = player.getTitle(); m_data.title = player.getTitle();
m_data.voice = player.getVoiceId(); m_data.voice = player.getVoiceId();
m_data.currentMount = player.getCurrentMount(); m_data.currentMount = player.getCurrentMount();
m_data.activeMinion = player.getCurrentCompanion(); //m_data.activeMinion = player.getCurrentCompanion();
m_data.activeMinion = 0;
m_data.onlineStatus = static_cast< uint8_t >( player.getOnlineStatus() ); m_data.onlineStatus = static_cast< uint8_t >( player.getOnlineStatus() );
//m_data.u23 = 0x04; //m_data.u23 = 0x04;