1
This commit is contained in:
parent
c20d05d187
commit
f313a4b5c4
@ -687,7 +687,7 @@ void Player::ProcInteraction()
|
|||||||
int curr_num = 0;
|
int curr_num = 0;
|
||||||
if (loot->meta->equip_type() == EQUIP_TYPE_WEAPON) {
|
if (loot->meta->equip_type() == EQUIP_TYPE_WEAPON) {
|
||||||
if (GetCurrWeapon()->weapon_id == loot->meta->id()) {
|
if (GetCurrWeapon()->weapon_id == loot->meta->id()) {
|
||||||
curr_num = GetCompose()->GetNum();
|
curr_num = GetCompose()->GetNum() + 1;
|
||||||
}
|
}
|
||||||
} else if (loot->meta->equip_type() == EQUIP_TYPE_GEMSTONE) {
|
} else if (loot->meta->equip_type() == EQUIP_TYPE_GEMSTONE) {
|
||||||
switch (loot->meta->equip_subtype()) {
|
switch (loot->meta->equip_subtype()) {
|
||||||
@ -725,7 +725,7 @@ void Player::ProcInteraction()
|
|||||||
int curr_num = 0;
|
int curr_num = 0;
|
||||||
if (loot->meta->equip_type() == EQUIP_TYPE_WEAPON) {
|
if (loot->meta->equip_type() == EQUIP_TYPE_WEAPON) {
|
||||||
if (GetCurrWeapon()->weapon_id == loot->meta->id()) {
|
if (GetCurrWeapon()->weapon_id == loot->meta->id()) {
|
||||||
curr_num = GetCompose()->GetNum();
|
curr_num = GetCompose()->GetNum() + 1;
|
||||||
}
|
}
|
||||||
} else if (loot->meta->equip_type() == EQUIP_TYPE_GEMSTONE) {
|
} else if (loot->meta->equip_type() == EQUIP_TYPE_GEMSTONE) {
|
||||||
switch (loot->meta->equip_subtype()) {
|
switch (loot->meta->equip_subtype()) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user