This commit is contained in:
aozhiwei 2020-07-27 13:21:38 +08:00
parent cbd66ab033
commit e8ae2042fa

View File

@ -33,11 +33,12 @@ const int kREVIVE_BUFF_ID = 0;
static void InternalShot(Human* hum, MetaData::Equip* bullet_meta, int skill_id, bool& shot_ok) static void InternalShot(Human* hum, MetaData::Equip* bullet_meta, int skill_id, bool& shot_ok)
{ {
shot_ok = false; shot_ok = false;
#if 0
if (!curr_weapon->meta) { if (!bullet_meta) {
return; return;
} }
#if 0
if (curr_weapon->weapon_idx != 0 && if (curr_weapon->weapon_idx != 0 &&
curr_weapon->ammo <= 0) { curr_weapon->ammo <= 0) {
AutoLoadingBullet(); AutoLoadingBullet();