mirror of
https://github.com/EQEmu/Server.git
synced 2025-12-23 08:01:30 +00:00
We need to update the ActiveSharedTask pointer
When we leave, we need to make sure it's managed as well!
This commit is contained in:
parent
8a8e922f46
commit
e99354223d
@ -3556,6 +3556,8 @@ void ClientTaskState::AcceptNewSharedTask(Client *c, int TaskID, int NPCID, int
|
|||||||
worldserver.SendPacket(pack);
|
worldserver.SendPacket(pack);
|
||||||
delete pack;
|
delete pack;
|
||||||
|
|
||||||
|
ActiveSharedTask = task_state;
|
||||||
|
|
||||||
return;
|
return;
|
||||||
|
|
||||||
// there are a few issues we need to solve with this
|
// there are a few issues we need to solve with this
|
||||||
@ -3590,6 +3592,8 @@ void ClientTaskState::AddToSharedTask(Client *c, int TaskID)
|
|||||||
// this isn't an accept step. I guess we should add another event in case
|
// this isn't an accept step. I guess we should add another event in case
|
||||||
// they need the same thing TODO
|
// they need the same thing TODO
|
||||||
|
|
||||||
|
ActiveSharedTask = task;
|
||||||
|
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user