16
0
mirror of https://github.com/MaSzyna-EU07/maszyna.git synced 2026-07-17 23:39:18 +02:00
This commit is contained in:
milek7
2020-10-23 01:23:48 +02:00
parent 89b9204ab0
commit 286f31b75c
3 changed files with 4 additions and 7 deletions

View File

@@ -235,11 +235,9 @@ void ui::scenerylist_panel::draw_summary_tooltip(const dynamic_desc &dyn_desc)
ImGui::TextUnformatted(STR_C("Coupling:"));
for (int i = 1; i <= 0x100; i <<= 1) {
bool dummy = true;
for (int i = 1; i <= 0x100; i <<= 1) {
if (dyn_desc.coupling & i)
ImGui::Text("+ %s", Translations.coupling_name(i).c_str(), &dummy);
ImGui::Text("+ %s", Translations.coupling_name(i).c_str());
}
}