additional housing packet fix
This commit is contained in:
parent
7f809a5b79
commit
0c159c153b
1 changed files with 5 additions and 0 deletions
|
@ -134,6 +134,11 @@ void ClientPacketFunctions::SendBaseHouseWindow(Client* client, HouseZone* hz, P
|
|||
|
||||
// need this to enable the "enter house" button
|
||||
PacketStruct* packet = configReader.getStruct("WS_UpdateHouseAccessDataMsg", client->GetVersion());
|
||||
|
||||
if(!packet) {
|
||||
return;
|
||||
}
|
||||
|
||||
if(client->GetCurrentZone()->GetInstanceType() != PERSONAL_HOUSE_INSTANCE
|
||||
&& client->GetCurrentZone()->GetInstanceType() != GUILD_HOUSE_INSTANCE) {
|
||||
if (packet) {
|
||||
|
|
Loading…
Reference in a new issue