mirror of
https://github.com/SapphireServer/Sapphire.git
synced 2025-05-03 17:27:47 +00:00
fix status effect client crash
This commit is contained in:
parent
b5b3e086dc
commit
9ef7a8642d
3 changed files with 4 additions and 3 deletions
|
@ -385,8 +385,8 @@ namespace Sapphire::Network::ActorControl
|
|||
CutscenePlayed = 0x134, // param1 = cutscene id
|
||||
AllotAttribute = 0x135,
|
||||
|
||||
ClearFieldMarkers = 0x13A,
|
||||
CameraMode = 0x13B, // param11, 1 = enable, 0 = disable
|
||||
//ClearFieldMarkers = 0x13A,
|
||||
CameraMode = 0x13A, // param11 (only read lowest byte), 1 = enable, 0 = disable
|
||||
CharaNameReq = 0x13D, // requests character name by content id
|
||||
HuntingLogDetails = 0x194,
|
||||
|
||||
|
|
|
@ -479,6 +479,7 @@ namespace Sapphire::Network::Packets::Server
|
|||
uint32_t sourceActorId;
|
||||
} statusEntries[4];
|
||||
|
||||
uint32_t padding;
|
||||
};
|
||||
|
||||
/**
|
||||
|
|
|
@ -527,7 +527,7 @@ void Sapphire::Network::GameConnection::clientTriggerHandler( const Packets::FFX
|
|||
}
|
||||
case ClientTriggerType::CameraMode:
|
||||
{
|
||||
if( param11 == 1 )
|
||||
if( ( param11 & 0xFF ) == 1 )
|
||||
{
|
||||
player.setOnlineStatusMask( player.getOnlineStatusMask() | 0x0000000000040000 );
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue