Eliminada una variable static que no se utilizaba

This commit is contained in:
JailDesigner committed 2022-12-01 22:36:41 +01:00
1 parent 13fe98edb3
commit f322b1b81b
1 file changed
+1 -1
+1 -1
View File
@@ -665,7 +665,7 @@ void Room::fillMapTexture()
void Room::renderMap() void Room::renderMap()
{ {
// Dibuja la textura con el mapa en pantalla // 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); SDL_RenderCopy(renderer, mapTexture, nullptr, &dest);
// Dibuja los tiles animados // Dibuja los tiles animados