quick check with linters

This commit is contained in:
MihailRis 2024-05-10 12:34:05 +03:00
parent 92f185ab51
commit 9522aedeec
55 changed files with 129 additions and 184 deletions

View file

@ -416,7 +416,7 @@ void Hud::add(HudElement element) {
elements.push_back(element);
}
void Hud::onRemove(HudElement& element) {
void Hud::onRemove(const HudElement& element) {
auto document = element.getDocument();
if (document) {
Inventory* inventory = nullptr;