mirror of
https://github.com/SapphireServer/Sapphire.git
synced 2025-04-27 06:47:45 +00:00
fix housing furnishings menu not closing properly
This commit is contained in:
parent
394d8e2b28
commit
d49eab1c1c
1 changed files with 7 additions and 1 deletions
|
@ -411,7 +411,13 @@ void Sapphire::Network::GameConnection::clientTriggerHandler( const Packets::FFX
|
||||||
}
|
}
|
||||||
case ClientTriggerType::RequestHousingItemUI:
|
case ClientTriggerType::RequestHousingItemUI:
|
||||||
{
|
{
|
||||||
uint8_t ward = ( param12 & 0xFF00 ) >> 8;
|
// close ui
|
||||||
|
if( param11 == 1 )
|
||||||
|
break;
|
||||||
|
|
||||||
|
// param12 is 0 when inside a house
|
||||||
|
|
||||||
|
uint8_t ward = ( param12 >> 16 ) & 0xFF;
|
||||||
uint8_t plot = ( param12 & 0xFF );
|
uint8_t plot = ( param12 & 0xFF );
|
||||||
auto pShowHousingItemUIPacket = makeActorControl142( player.getId(), ShowHousingItemUI, 0, plot );
|
auto pShowHousingItemUIPacket = makeActorControl142( player.getId(), ShowHousingItemUI, 0, plot );
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue