1
This commit is contained in:
parent
e1ad6de453
commit
d8dfd96829
@ -2921,7 +2921,7 @@ void Human::DropWeapon(int weapon_idx, int num)
|
||||
return;
|
||||
}
|
||||
bool is_curr_weapon = weapon_idx == GetCurrWeapon()->weapon_idx;
|
||||
int stack_num = is_curr_weapon ? GetCompose()->GetNum() : 0;
|
||||
int stack_num = is_curr_weapon ? GetCompose()->GetNum() + 1: 0;
|
||||
bool drop_ok = false;
|
||||
Weapon* weapon = &weapons[weapon_idx];
|
||||
int weapon_id = weapon->weapon_id;
|
||||
|
Loading…
x
Reference in New Issue
Block a user