mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-05-14 05:51:22 +00:00
CVar::hasDefaultValue doesn't do what I thought it did, and I wrote the darn thing
This commit is contained in:
parent
9995199fbf
commit
6fb78f1add
@ -566,7 +566,7 @@ void ImGuiConsole::ShowConsoleVariablesWindow() {
|
|||||||
ImGui::Text("lawl wut? Please contact a developer, your copy of Metaforce is cursed!");
|
ImGui::Text("lawl wut? Please contact a developer, your copy of Metaforce is cursed!");
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
if (ImGui::IsItemHovered() && cv->hasDefaultValue()) {
|
if (ImGui::IsItemHovered()) {
|
||||||
std::string sv(cv->defaultValue());
|
std::string sv(cv->defaultValue());
|
||||||
ImGui::SetTooltip("Default: %s", sv.c_str());
|
ImGui::SetTooltip("Default: %s", sv.c_str());
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user