summaryrefslogtreecommitdiff
path: root/csgo-loader/csgo-client/UserExperience
diff options
context:
space:
mode:
Diffstat (limited to 'csgo-loader/csgo-client/UserExperience')
-rw-r--r--csgo-loader/csgo-client/UserExperience/MoneybotShared/ui.h8
-rw-r--r--csgo-loader/csgo-client/UserExperience/UserInterface.hpp2
2 files changed, 5 insertions, 5 deletions
diff --git a/csgo-loader/csgo-client/UserExperience/MoneybotShared/ui.h b/csgo-loader/csgo-client/UserExperience/MoneybotShared/ui.h
index 661ef1f..b061cd5 100644
--- a/csgo-loader/csgo-client/UserExperience/MoneybotShared/ui.h
+++ b/csgo-loader/csgo-client/UserExperience/MoneybotShared/ui.h
@@ -84,20 +84,20 @@ namespace ui {
auto choose_form = menu->add_item(std::make_shared<ui::c_form>(120, 20, 190, 115, "select a cheat"));
{
// Change these if you want to.
- static std::vector<dropdowns::dropdown_item_t<int>> m_beta_items{
+ static std::vector<dropdowns::dropdown_item_t<uint16_t>> m_beta_items{
{ "cs:go (release)", 0 },
{ "cs:go (beta)", 1 },
{ "cs:go (debug)", 2 },
};
- static std::vector<dropdowns::dropdown_item_t<int>> m_normal_items{
+ static std::vector<dropdowns::dropdown_item_t<uint16_t>> m_normal_items{
{ "cs:go", 0 },
};
- choose_form->add_item(std::make_shared<ui::c_dropdown<int>>(15, 0, 140, "cheat selection:", &UserInterface->m_Data.m_SelectedGame, &m_beta_items))->set_cond([] {
+ choose_form->add_item(std::make_shared<ui::c_dropdown<uint16_t>>(15, 0, 140, "cheat selection:", &UserInterface->m_Data.m_SelectedGame, &m_beta_items))->set_cond([] {
return UserInterface->m_Data.m_SpecialAccess;
});
- choose_form->add_item(std::make_shared<ui::c_dropdown<int>>(15, 0, 140, "cheat selection:", &UserInterface->m_Data.m_SelectedGame, &m_normal_items))->set_cond([] {
+ choose_form->add_item(std::make_shared<ui::c_dropdown<uint16_t>>(15, 0, 140, "cheat selection:", &UserInterface->m_Data.m_SelectedGame, &m_normal_items))->set_cond([] {
return !UserInterface->m_Data.m_SpecialAccess;
});
diff --git a/csgo-loader/csgo-client/UserExperience/UserInterface.hpp b/csgo-loader/csgo-client/UserExperience/UserInterface.hpp
index d855c85..e905b3b 100644
--- a/csgo-loader/csgo-client/UserExperience/UserInterface.hpp
+++ b/csgo-loader/csgo-client/UserExperience/UserInterface.hpp
@@ -45,7 +45,7 @@ namespace UserExperience
bool m_SpecialAccess = false;
// Holds the selected game.
- SelectedGame m_SelectedGame = GAME_CSGO;
+ uint16_t m_SelectedGame = GAME_CSGO;
// Holds the current error message.
ErrorReason m_Error = ERROR_GENERIC_ERROR;