diff --git a/src/hooks/protections/received_event.cpp b/src/hooks/protections/received_event.cpp index fd1be85a..22869a71 100644 --- a/src/hooks/protections/received_event.cpp +++ b/src/hooks/protections/received_event.cpp @@ -27,7 +27,6 @@ namespace big static bool is_valid_weapon(rage::joaat_t hash) { - for (const auto& info : g_pointers->m_gta.m_weapon_info_manager->m_item_infos) { if (info && info->m_name == hash && info->GetClassId() == "cweaponinfo"_J)