From c4613e1b0f265cff8a8d290534808dde56d62f77 Mon Sep 17 00:00:00 2001 From: Mitch Freeman <65987027+neckkola@users.noreply.github.com> Date: Sat, 2 Mar 2024 17:16:51 -0400 Subject: [PATCH] [Crash Fix] Update to location of qGlobals initialization (#4144) --- zone/client.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zone/client.cpp b/zone/client.cpp index 5782130bd..273803abc 100644 --- a/zone/client.cpp +++ b/zone/client.cpp @@ -284,6 +284,7 @@ Client::Client(EQStreamInterface *ieqs) : Mob( PendingSacrifice = false; controlling_boat_id = 0; controlled_mob_id = 0; + qGlobals = nullptr; if (!RuleB(Character, PerCharacterQglobalMaxLevel) && !RuleB(Character, PerCharacterBucketMaxLevel)) { SetClientMaxLevel(0); @@ -311,7 +312,6 @@ Client::Client(EQStreamInterface *ieqs) : Mob( aa_los_them_mob = nullptr; los_status = false; los_status_facing = false; - qGlobals = nullptr; HideCorpseMode = HideCorpseNone; PendingGuildInvitation = false;