mirror of
https://github.com/SapphireServer/Sapphire.git
synced 2025-05-25 19:17:45 +00:00
fix
This commit is contained in:
parent
aaccb4bd6a
commit
e75db49d37
2 changed files with 2 additions and 2 deletions
|
@ -835,6 +835,7 @@ void Sapphire::Entity::Player::setClassJob( Common::ClassJob classJob )
|
|||
sendStatusUpdate();
|
||||
|
||||
gaugeClear();
|
||||
sendActorGauge();
|
||||
}
|
||||
|
||||
void Sapphire::Entity::Player::setLevel( uint8_t level )
|
||||
|
@ -2161,7 +2162,6 @@ void Sapphire::Entity::Player::gaugeClear()
|
|||
std::memset( m_gauge, 0, sizeof( m_gauge ) );
|
||||
auto pPacket = makeZonePacket< FFXIVIpcEffect037F >( getId() );
|
||||
queuePacket( pPacket );
|
||||
sendActorGauge();
|
||||
}
|
||||
|
||||
void Sapphire::Entity::Player::gaugeSet( uint8_t index, uint8_t value )
|
||||
|
|
|
@ -424,7 +424,7 @@ void Sapphire::Network::GameConnection::finishLoadingHandler( FrameworkPtr pFw,
|
|||
// spawn the player for himself
|
||||
player.spawn( player.getAsPlayer() );
|
||||
|
||||
player.sendActorGuage();
|
||||
player.sendActorGauge();
|
||||
|
||||
// notify the zone of a change in position to force an "inRangeActor" update
|
||||
player.getCurrentTerritory()->updateActorPosition( player );
|
||||
|
|
Loading…
Add table
Reference in a new issue