1
This commit is contained in:
parent
488f7eada2
commit
bed1c91d66
@ -494,7 +494,7 @@ void Ability::GMDelBaseAttr(int type, int attr_id, int idx)
|
||||
AttrAbs,
|
||||
entry);
|
||||
list_del_init(&e->entry);
|
||||
delete e;
|
||||
e->holder = nullptr;
|
||||
if (idx > -1) {
|
||||
break;
|
||||
}
|
||||
@ -513,7 +513,7 @@ void Ability::GMDelBaseAttr(int type, int attr_id, int idx)
|
||||
AttrRate,
|
||||
entry);
|
||||
list_del_init(&e->entry);
|
||||
delete e;
|
||||
e->holder = nullptr;
|
||||
if (idx > -1) {
|
||||
break;
|
||||
}
|
||||
@ -563,7 +563,7 @@ void Ability::GMDelGrowAttr(int type, int attr_id, int idx)
|
||||
AttrAddition,
|
||||
entry);
|
||||
list_del_init(&e->entry);
|
||||
delete e;
|
||||
e->holder = nullptr;
|
||||
if (idx > -1) {
|
||||
break;
|
||||
}
|
||||
@ -582,7 +582,7 @@ void Ability::GMDelGrowAttr(int type, int attr_id, int idx)
|
||||
AttrRuduce,
|
||||
entry);
|
||||
list_del_init(&e->entry);
|
||||
delete e;
|
||||
e->holder = nullptr;
|
||||
if (idx > -1) {
|
||||
break;
|
||||
}
|
||||
@ -603,7 +603,7 @@ void Ability::GMDelGrowAttr(int type, int attr_id, int idx)
|
||||
AttrAddition,
|
||||
entry);
|
||||
list_del_init(&e->entry);
|
||||
delete e;
|
||||
e->holder = nullptr;
|
||||
if (idx > -1) {
|
||||
break;
|
||||
}
|
||||
@ -622,7 +622,7 @@ void Ability::GMDelGrowAttr(int type, int attr_id, int idx)
|
||||
AttrRuduce,
|
||||
entry);
|
||||
list_del_init(&e->entry);
|
||||
delete e;
|
||||
e->holder = nullptr;
|
||||
if (idx > -1) {
|
||||
break;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user