Put back button from #23 for 2x exploit by BennettStaley

This commit is contained in:
Aivan Monceller 2024-01-27 16:55:35 +08:00
parent e2daebf22a
commit 3041f31031

View File

@ -268,6 +268,11 @@ namespace DX11_Base {
ImGui::InputInt("Slot to modify (start 0):", &Config.AddItemSlot); ImGui::InputInt("Slot to modify (start 0):", &Config.AddItemSlot);
ImGui::InputInt("Multiple of how much:", &Config.AddItemCount); ImGui::InputInt("Multiple of how much:", &Config.AddItemCount);
if (ImGui::Button("Give items from slot", ImVec2(ImGui::GetContentRegionAvail().x - 3, 20)))
{
AddToInventoryContainer(Config.AddItemCount, Config.AddItemSlot);
}
// this does not work lol // this does not work lol
// std::stringstream AddItemsString; // std::stringstream AddItemsString;
// AddItemsString << "Give " << Config.AddItemCount << " items from slot" << Config.AddItemSlot; // AddItemsString << "Give " << Config.AddItemCount << " items from slot" << Config.AddItemSlot;