Skip to content
This repository has been archived by the owner on Nov 5, 2018. It is now read-only.

Commit

Permalink
Fix aimbot guns listing
Browse files Browse the repository at this point in the history
  • Loading branch information
luk1337 committed Feb 16, 2017
1 parent 12b7e50 commit 94c2eb4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/ATGUI/Tabs/aimbottab.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -136,8 +136,8 @@ void Aimbot::RenderTab()
if (Util::Items::isKnife(it.first) || Util::Items::isGlove(it.first) || Util::Items::isUtility(it.first))
continue;

const bool item_selected = ((int)it.first == (int) currentWeapon);
ImGui::PushID((int)it.first);
const bool item_selected = ((int) it.first == (int) currentWeapon);
ImGui::PushID((int) it.first);
std::string formattedName;
char changeIndicator = ' ';
bool isChanged = Settings::Aimbot::weapons.find(it.first) != Settings::Aimbot::weapons.end();
Expand Down
1 change: 0 additions & 1 deletion src/Utils/util_items.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,6 @@ namespace Util
{
switch (index)
{
case ItemDefinitionIndex::INVALID:
case ItemDefinitionIndex::WEAPON_C4:
case ItemDefinitionIndex::WEAPON_FLASHBANG:
case ItemDefinitionIndex::WEAPON_HEGRENADE:
Expand Down

0 comments on commit 94c2eb4

Please sign in to comment.