mirror of
https://github.com/EQEmu/Server.git
synced 2025-12-15 16:41:29 +00:00
Crash fix for crash we saw on peq
This commit is contained in:
parent
5e1a886e8f
commit
faaa98d3f0
@ -1069,6 +1069,10 @@ void Client::EnterWorld(bool TryBootup) {
|
|||||||
if (zoneID == 0)
|
if (zoneID == 0)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
|
if(!cle) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
ZoneServer* zs = nullptr;
|
ZoneServer* zs = nullptr;
|
||||||
if(instanceID > 0)
|
if(instanceID > 0)
|
||||||
{
|
{
|
||||||
@ -1127,7 +1131,6 @@ void Client::EnterWorld(bool TryBootup) {
|
|||||||
cle->SetChar(charid, char_name);
|
cle->SetChar(charid, char_name);
|
||||||
database.UpdateLiveChar(char_name, GetAccountID());
|
database.UpdateLiveChar(char_name, GetAccountID());
|
||||||
Log.Out(Logs::Detail, Logs::World_Server,"%s %s (%d:%d)",seencharsel ? "Entering zone" : "Zoning to",zone_name,zoneID,instanceID);
|
Log.Out(Logs::Detail, Logs::World_Server,"%s %s (%d:%d)",seencharsel ? "Entering zone" : "Zoning to",zone_name,zoneID,instanceID);
|
||||||
// database.SetAuthentication(account_id, char_name, zone_name, ip);
|
|
||||||
|
|
||||||
if (seencharsel) {
|
if (seencharsel) {
|
||||||
if (GetAdmin() < 80 && zoneserver_list.IsZoneLocked(zoneID)) {
|
if (GetAdmin() < 80 && zoneserver_list.IsZoneLocked(zoneID)) {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user