[Crash Fix] Update to location of qGlobals initialization (#4144)

This commit is contained in:
Mitch Freeman authored and GitHub committed 2024-03-02 15:16:51 -06:00
1 parent 3003a59955
commit c4613e1b0f
1 file changed
+1 -1
+1 -1
View File
@@ -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;