瀏覽代碼

additional housing packet fix

Emagi 8 月之前
父節點
當前提交
0c159c153b
共有 1 個文件被更改,包括 5 次插入0 次删除
  1. 5 0
      EQ2/source/WorldServer/Housing/HousingPackets.cpp

+ 5 - 0
EQ2/source/WorldServer/Housing/HousingPackets.cpp

@@ -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) {