fix: arreglos de codi
This commit is contained in:
@@ -1845,7 +1845,7 @@ void Game::updateGameStateEnteringPlayer()
|
||||
updatePlayers();
|
||||
updateScoreboard();
|
||||
updateBackground();
|
||||
for (auto player : players_)
|
||||
for (const auto &player : players_)
|
||||
{
|
||||
if (player->isPlaying())
|
||||
{
|
||||
@@ -2026,7 +2026,7 @@ void Game::checkDebugEvents(const SDL_Event &event)
|
||||
}
|
||||
case SDLK_8:
|
||||
{
|
||||
for (auto player : players_)
|
||||
for (const auto &player : players_)
|
||||
{
|
||||
if (player->isPlaying())
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user