Eliminada una variable static que no se utilizaba

This commit is contained in:
2022-12-01 22:36:41 +01:00
parent 13fe98edb3
commit f322b1b81b
2 changed files with 2 additions and 2 deletions

View File

@@ -665,7 +665,7 @@ void Room::fillMapTexture()
void Room::renderMap()
{
// Dibuja la textura con el mapa en pantalla
static SDL_Rect dest = {0, 0, PLAY_AREA_WIDTH, PLAY_AREA_HEIGHT};
SDL_Rect dest = {0, 0, PLAY_AREA_WIDTH, PLAY_AREA_HEIGHT};
SDL_RenderCopy(renderer, mapTexture, nullptr, &dest);
// Dibuja los tiles animados