Maintenance: [forced, user-approved] Family W4: remove invented EffectAttachments (reference bundle over EffectActorState effects/fir
Batch #10257 by ragnarok-clanker: forced by an admin (7 lower score(s), 31 changed function(s)); checked with 95 compiled unit(s), including every includer of Source/Contents/Effects/EffectActor.h, Source/Contents/Effects/EffectAttachments.h. Deletes: Source/Contents/Effects/EffectAttachments.h
This commit is contained in:
parent
26277f915c
commit
3be8819db2
22 changed files with 118 additions and 177 deletions
|
|
@ -1844,7 +1844,7 @@ void CSession::RemovePartyMemberByName(const char* name) {
|
|||
}
|
||||
|
||||
CRenderObject* actor = mode->scene->GetGameActorByAidIncludeMe(it->accountId);
|
||||
if (actor != nullptr && static_cast<EffectActor*>(actor)->state.Attachments().HasId(160)) {
|
||||
if (actor != nullptr && static_cast<EffectActor*>(actor)->HasId(160)) {
|
||||
actor->SendMsg(nullptr, 109, 0, 160, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0);
|
||||
}
|
||||
|
||||
|
|
@ -3243,7 +3243,7 @@ void CSession::ClearItemContainers() {
|
|||
if (mode != nullptr) {
|
||||
for (std::list<MessengerMember>::iterator it = this->m_partyMembers.begin(); it != this->m_partyMembers.end(); ++it) {
|
||||
CRenderObject* actor = mode->scene->GetGameActorByAidIncludeMe(it->accountId);
|
||||
if (actor != nullptr && static_cast<EffectActor*>(actor)->state.Attachments().HasId(160)) {
|
||||
if (actor != nullptr && static_cast<EffectActor*>(actor)->HasId(160)) {
|
||||
actor->SendMsg(nullptr, 109, 0, 160, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue