diff options
| author | boris <wzn@moneybot.cc> | 2018-12-26 00:11:18 +1300 |
|---|---|---|
| committer | boris <wzn@moneybot.cc> | 2018-12-26 00:11:18 +1300 |
| commit | 73cbed632030f7f44d259dea1e2a1b00a17f95a5 (patch) | |
| tree | 5d164191924629007d273b8f57f85cc4b942aa1d /csgo-loader/csgo-client/UserExperience | |
| parent | c48c13417c198194b0d2f508a33431b27f5605b8 (diff) | |
obje]se incomepeternt porogrammer wtieres cod
SPWOOOOOoo
Diffstat (limited to 'csgo-loader/csgo-client/UserExperience')
| -rw-r--r-- | csgo-loader/csgo-client/UserExperience/MoneybotShared/ui.h | 8 | ||||
| -rw-r--r-- | csgo-loader/csgo-client/UserExperience/UserInterface.hpp | 2 |
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;
|
