Eliminado el resto de accesos a vector mediante at()

This commit is contained in:
2022-11-30 12:09:45 +01:00
parent 357eec20b1
commit 75228cc451
6 changed files with 81 additions and 81 deletions

View File

@@ -15,7 +15,7 @@ Demo::Demo(SDL_Renderer *renderer, Screen *screen, Resource *resource, Asset *as
rooms.push_back("44.room");
roomIndex = 0;
currentRoom = rooms.at(roomIndex);
currentRoom = rooms[roomIndex];
// Copia los punteros
this->resource = resource;
@@ -260,7 +260,7 @@ void Demo::checkRoomChange()
}
else
{
changeRoom(rooms.at(roomIndex));
changeRoom(rooms[roomIndex]);
}
}
}