From d142e1ca8178d394b81b8ec870343465bd8e1c73 Mon Sep 17 00:00:00 2001 From: Alex King <89047260+Kinglykrab@users.noreply.github.com> Date: Sat, 2 Aug 2025 23:09:30 -0400 Subject: [PATCH] [Hotfix] Fix Quest Ownership Edge Case (#4977) * [Hotfix] Fix Quest Ownership Edge Case * Push --- CHANGELOG.md | 6 ++++++ common/version.h | 2 +- package.json | 2 +- zone/embparser.cpp | 8 +++++--- 4 files changed, 13 insertions(+), 5 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index e903559e7..7d87da2db 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,9 @@ +## [23.9.1] 8/2/2025 + +### Hotfix + +* Fix Quest Ownership Edge Case ([#4977](https://github.com/EQEmu/Server/pull/4977)) @Kinglykrab 2025-08-02 + ## [23.9.0] 8/2/2025 ### Bots diff --git a/common/version.h b/common/version.h index eb68f66cc..2bcb00f99 100644 --- a/common/version.h +++ b/common/version.h @@ -25,7 +25,7 @@ // Build variables // these get injected during the build pipeline -#define CURRENT_VERSION "23.9.0-dev" // always append -dev to the current version for custom-builds +#define CURRENT_VERSION "23.9.1-dev" // always append -dev to the current version for custom-builds #define LOGIN_VERSION "0.8.0" #define COMPILE_DATE __DATE__ #define COMPILE_TIME __TIME__ diff --git a/package.json b/package.json index b21f09c16..d148cc68b 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "eqemu-server", - "version": "23.9.0", + "version": "23.9.1", "repository": { "type": "git", "url": "https://github.com/EQEmu/Server.git" diff --git a/zone/embparser.cpp b/zone/embparser.cpp index 903a4821f..bd4eabc0d 100644 --- a/zone/embparser.cpp +++ b/zone/embparser.cpp @@ -998,11 +998,13 @@ int PerlembParser::SendCommands( int ret_value = 0; RunningQuest q; + + q.owner = other; + q.questitem = inst; + q.questspell = spell; + if (mob && mob->IsClient()) { - q.owner = other; q.initiator = mob->CastToClient(); - q.questitem = inst; - q.questspell = spell; } if (zone) {