Crash fix for crash we saw on peq

This commit is contained in:
KimLS 2015-01-30 13:04:51 -08:00
parent 5e1a886e8f
commit faaa98d3f0

View File

@ -1069,6 +1069,10 @@ void Client::EnterWorld(bool TryBootup) {
if (zoneID == 0)
return;
if(!cle) {
return;
}
ZoneServer* zs = nullptr;
if(instanceID > 0)
{
@ -1127,7 +1131,6 @@ void Client::EnterWorld(bool TryBootup) {
cle->SetChar(charid, char_name);
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);
// database.SetAuthentication(account_id, char_name, zone_name, ip);
if (seencharsel) {
if (GetAdmin() < 80 && zoneserver_list.IsZoneLocked(zoneID)) {