mirror of
https://github.com/HarbourMasters/Shipwright.git
synced 2025-08-22 06:13:45 -07:00
Remove unnesseccary const_cast
This commit is contained in:
parent
877c744c26
commit
332794525f
1 changed files with 1 additions and 1 deletions
|
@ -329,7 +329,7 @@ namespace SohImGui {
|
|||
}
|
||||
|
||||
if (ImGui::Checkbox("DPad Support for Browsing Shop Items", &Game::Settings.controller.dpad_shop)) {
|
||||
CVar_SetS32(const_cast<char*>("gDpadShop"), Game::Settings.controller.dpad_shop);
|
||||
CVar_SetS32("gDpadShop", Game::Settings.controller.dpad_shop);
|
||||
needs_save = true;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue