From 522add315370182baa12f463a8b9e34f34bc29cf Mon Sep 17 00:00:00 2001 From: Oleg Derevenetz Date: Fri, 18 Oct 2024 18:26:21 +0300 Subject: [PATCH] Remove the unused function (#9211) --- src/fheroes2/game/game_interface.h | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/fheroes2/game/game_interface.h b/src/fheroes2/game/game_interface.h index 305c40663a..349dc3aa50 100644 --- a/src/fheroes2/game/game_interface.h +++ b/src/fheroes2/game/game_interface.h @@ -32,7 +32,6 @@ #include "interface_cpanel.h" #include "interface_icons.h" #include "interface_status.h" -#include "math_base.h" #include "players.h" class Castle; @@ -110,11 +109,6 @@ namespace Interface return _statusPanel; } - const fheroes2::Rect & getButtonsPanelRect() const - { - return _buttonsPanel.GetRect(); - } - void SetFocus( Heroes *, const bool retainScrollBarPosition ); void SetFocus( Castle * ); void ResetFocus( const int priority, const bool retainScrollBarPosition );