1
This commit is contained in:
parent
d1164007fc
commit
220a128fd0
@ -2841,6 +2841,7 @@ void Human::ProcLootWeapon(AddItemDTO& dto)
|
|||||||
//装备
|
//装备
|
||||||
if (dto.item_meta->equip_subtype() == 1) {
|
if (dto.item_meta->equip_subtype() == 1) {
|
||||||
//近战
|
//近战
|
||||||
|
#ifdef NEW_WEAPON_SYS
|
||||||
if (default_weapon.weapon_id != weapons[0].weapon_id) {
|
if (default_weapon.weapon_id != weapons[0].weapon_id) {
|
||||||
return;
|
return;
|
||||||
} else {
|
} else {
|
||||||
@ -2852,6 +2853,7 @@ void Human::ProcLootWeapon(AddItemDTO& dto)
|
|||||||
}
|
}
|
||||||
MarkSyncActivePlayer(__FILE__, __LINE__, __func__);
|
MarkSyncActivePlayer(__FILE__, __LINE__, __func__);
|
||||||
SyncAroundPlayers(__FILE__, __LINE__, __func__);
|
SyncAroundPlayers(__FILE__, __LINE__, __func__);
|
||||||
|
#endif
|
||||||
} else {
|
} else {
|
||||||
if (FreezeOperate()) {
|
if (FreezeOperate()) {
|
||||||
return;
|
return;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user