Skip to content

Commit c202b2f

Browse files
committed
clang
1 parent 87ec16a commit c202b2f

1 file changed

Lines changed: 4 additions & 7 deletions

File tree

src/port/ui/SaveEditor.cpp

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -41,10 +41,8 @@ std::map<RandoItemId, const char*> objectMap = {
4141
};
4242

4343
std::map<std::string, int32_t> randoFlagList = {
44-
{ "Unlock Wing Cap", SAVE_FLAG_HAVE_WING_CAP },
45-
{ "Unlock Metal Cap", SAVE_FLAG_HAVE_METAL_CAP },
46-
{ "Unlock Vanish Cap", SAVE_FLAG_HAVE_VANISH_CAP },
47-
{ "Grant Bowser Key 1", SAVE_FLAG_HAVE_KEY_1 },
44+
{ "Unlock Wing Cap", SAVE_FLAG_HAVE_WING_CAP }, { "Unlock Metal Cap", SAVE_FLAG_HAVE_METAL_CAP },
45+
{ "Unlock Vanish Cap", SAVE_FLAG_HAVE_VANISH_CAP }, { "Grant Bowser Key 1", SAVE_FLAG_HAVE_KEY_1 },
4846
{ "Grant Bowser Key 2", SAVE_FLAG_HAVE_KEY_2 },
4947
// { "Unlock 8 Star Door", SAVE_FLAG_UNLOCKED_BITDW_DOOR },
5048
// { "Unlock 30 Star Door", SAVE_FLAG_UNLOCKED_BITFS_DOOR },
@@ -180,7 +178,7 @@ void SaveEditorWindow::DrawElement() {
180178
ImGui::Text("Pos X:");
181179
ImGui::SameLine();
182180
ImGui::Text(posX.c_str());
183-
181+
184182
ImGui::Text("Pos Y:");
185183
ImGui::SameLine();
186184
ImGui::Text(posY.c_str());
@@ -215,7 +213,6 @@ void SaveEditorWindow::DrawElement() {
215213
} else {
216214
isChecked = gSaveBuffer.files[gCurrSaveFileNum - 1][0].courseStars[i] & (1 << s);
217215
}
218-
219216

220217
UIWidgets::PushStyleCheckbox(WIDGET_COLOR);
221218
if (UIWidgets::Checkbox(label, &isChecked)) {
@@ -352,7 +349,7 @@ void SaveEditorWindow::DrawElement() {
352349
}
353350
ImGui::EndTabBar();
354351
}
355-
352+
356353
ImGui::EndChild();
357354
}
358355
ImGui::EndTabItem();

0 commit comments

Comments
 (0)