diff --git a/source/game/effects/gestor_puntuacio_flotant.cpp b/source/game/effects/gestor_puntuacio_flotant.cpp index 2c488f1..6cc29ac 100644 --- a/source/game/effects/gestor_puntuacio_flotant.cpp +++ b/source/game/effects/gestor_puntuacio_flotant.cpp @@ -8,8 +8,7 @@ namespace Effects { GestorPuntuacioFlotant::GestorPuntuacioFlotant(SDL_Renderer* renderer) - : renderer_(renderer), - text_(renderer) { + : text_(renderer) { // Inicialitzar tots els slots com inactius for (auto& pf : pool_) { pf.actiu = false; diff --git a/source/game/effects/gestor_puntuacio_flotant.hpp b/source/game/effects/gestor_puntuacio_flotant.hpp index 3ce5c60..d08e4ff 100644 --- a/source/game/effects/gestor_puntuacio_flotant.hpp +++ b/source/game/effects/gestor_puntuacio_flotant.hpp @@ -38,7 +38,6 @@ class GestorPuntuacioFlotant { int get_num_actius() const; private: - SDL_Renderer* renderer_; Graphics::VectorText text_; // Sistema de text vectorial // Pool de números flotants (màxim concurrent)