mirror of
https://github.com/EQEmu/Server.git
synced 2026-05-16 22:58:34 +00:00
[Shared Tasks] Task Kill Update Fix (#1573)
* Revert "Revert "Shared task kill update fix""
This reverts commit 859751f74d.
* Swap return for continue in this context
* Slight tweak
* Slight tweak
* Remove no longer needed task methods
* Update scope for IncrementDoneCount
* Create helper method Client::GetPartyMembers() and add client->HasTaskState()
* Move HandleUpdateTasksOnKill responsibility to TaskManager
* Remove unnecessary pointer
This commit is contained in:
+1
-3
@@ -2357,9 +2357,7 @@ bool NPC::Death(Mob* killer_mob, int32 damage, uint16 spell, EQ::skills::SkillTy
|
||||
give_exp_client->GetCleanName(),
|
||||
GetNPCTypeID()
|
||||
);
|
||||
give_exp_client
|
||||
->GetTaskState()
|
||||
->HandleUpdateTasksOnKill(give_exp_client, GetNPCTypeID());
|
||||
task_manager->HandleUpdateTasksOnKill(give_exp_client, GetNPCTypeID());
|
||||
}
|
||||
|
||||
if (kr) {
|
||||
|
||||
Reference in New Issue
Block a user