diff --git a/server/gameserver/human.cc b/server/gameserver/human.cc index 83a7168..7f57e40 100644 --- a/server/gameserver/human.cc +++ b/server/gameserver/human.cc @@ -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) { shot_ok = false; -#if 0 - if (!curr_weapon->meta) { + + if (!bullet_meta) { return; } +#if 0 if (curr_weapon->weapon_idx != 0 && curr_weapon->ammo <= 0) { AutoLoadingBullet();