From 779c756b8b0a1c0064e22ebda76f03110665f95b Mon Sep 17 00:00:00 2001 From: scawful Date: Sun, 7 Apr 2024 12:19:48 -0400 Subject: [PATCH] fix missing ok statuses --- src/app/editor/dungeon_editor.cc | 1 + src/app/editor/modules/palette_editor.h | 1 + src/app/editor/overworld_editor.cc | 1 + 3 files changed, 3 insertions(+) diff --git a/src/app/editor/dungeon_editor.cc b/src/app/editor/dungeon_editor.cc index cbc96a33..77802787 100644 --- a/src/app/editor/dungeon_editor.cc +++ b/src/app/editor/dungeon_editor.cc @@ -197,6 +197,7 @@ absl::Status DungeonEditor::UpdateDungeonRoomView() { DrawTileSelector(); ImGui::EndTable(); } + return absl::OkStatus(); } void DungeonEditor::DrawToolset() { diff --git a/src/app/editor/modules/palette_editor.h b/src/app/editor/modules/palette_editor.h index acf2ff25..cfbe14d8 100644 --- a/src/app/editor/modules/palette_editor.h +++ b/src/app/editor/modules/palette_editor.h @@ -98,6 +98,7 @@ class PaletteEditor : public SharedROM { saved_palette_[n].z = color.rgb().z / 255; saved_palette_[n].w = 255; // Alpha } + return absl::OkStatus(); } absl::Status status_; diff --git a/src/app/editor/overworld_editor.cc b/src/app/editor/overworld_editor.cc index 7e3201f4..c766c231 100644 --- a/src/app/editor/overworld_editor.cc +++ b/src/app/editor/overworld_editor.cc @@ -359,6 +359,7 @@ absl::Status OverworldEditor::RefreshMapPalette() { RETURN_IF_ERROR(maps_bmp_[current_map_].ApplyPalette( *overworld_.mutable_overworld_map(current_map_) ->mutable_current_palette())); + return absl::OkStatus(); } void OverworldEditor::RefreshMapProperties() {