1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-11-29 23:07:48 +02:00

Fix sonar, fix build

This commit is contained in:
Ivan Savenko
2025-06-19 20:52:40 +03:00
parent 1ac8080cbf
commit e06c0e8de0
11 changed files with 21 additions and 18 deletions

View File

@@ -17,7 +17,7 @@
#include "../../lib/gameState/InfoAboutArmy.h"
#include "../../lib/texts/CGeneralTextHandler.h"
HeroInfoBasicPanel::HeroInfoBasicPanel(const InfoAboutHero & hero, Point * position, bool initializeBackground)
HeroInfoBasicPanel::HeroInfoBasicPanel(const InfoAboutHero & hero, const Point * position, bool initializeBackground)
: CIntObject(0)
{
OBJECT_CONSTRUCTION;
@@ -84,7 +84,7 @@ void HeroInfoBasicPanel::show(Canvas & to)
CIntObject::show(to);
}
HeroInfoWindow::HeroInfoWindow(const InfoAboutHero & hero, Point * position)
HeroInfoWindow::HeroInfoWindow(const InfoAboutHero & hero, const Point * position)
: CWindowObject(RCLICK_POPUP | SHADOW_DISABLED, ImagePath::builtin("CHRPOP"))
{
OBJECT_CONSTRUCTION;