mirror of
https://github.com/EQEmu/Server.git
synced 2025-12-15 20:51:29 +00:00
Fix for zone crashes on startup
This commit is contained in:
parent
341bc0723b
commit
89303d9218
@ -1817,7 +1817,8 @@ void WorldServer::HandleMessage(uint16 opcode, const EQ::Net::Packet &p)
|
|||||||
case ServerOP_UCSServerStatusReply:
|
case ServerOP_UCSServerStatusReply:
|
||||||
{
|
{
|
||||||
auto ucsss = (UCSServerStatus_Struct*)pack->pBuffer;
|
auto ucsss = (UCSServerStatus_Struct*)pack->pBuffer;
|
||||||
zone->SetUCSServerAvailable((ucsss->available != 0), ucsss->timestamp);
|
if (zone)
|
||||||
|
zone->SetUCSServerAvailable((ucsss->available != 0), ucsss->timestamp);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
case ServerOP_CZSetEntityVariableByNPCTypeID:
|
case ServerOP_CZSetEntityVariableByNPCTypeID:
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user