Skip to content

Commit

Permalink
fx battle progress bar
Browse files Browse the repository at this point in the history
  • Loading branch information
Nivaturimika committed Jul 9, 2024
1 parent 95cf096 commit 349148c
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/gui/gui_map_icons.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -365,6 +365,9 @@ class prov_map_battle_bar : public progress_bar {
top_display_parameters* params = retrieve<top_display_parameters*>(state, parent);
progress = params->battle_progress;
}
message_result test_mouse(sys::state& state, int32_t x, int32_t y, mouse_probe_type type) noexcept override {
return opaque_element_base::test_mouse(state, x, y, type);
}
message_result on_lbutton_down(sys::state& state, int32_t x, int32_t y, sys::key_modifiers mods) noexcept override {

sound::play_interface_sound(state, sound::get_click_sound(state), state.user_settings.interface_volume * state.user_settings.master_volume);
Expand Down

0 comments on commit 349148c

Please sign in to comment.