Añadida Tu peor pesadilla a la pantalla de Game Over

This commit is contained in:
2022-11-18 16:07:33 +01:00
parent c35be7d21c
commit 2665b93b70
7 changed files with 52 additions and 19 deletions

View File

@@ -824,7 +824,7 @@ bool Room::itemCollision(SDL_Rect &rect)
items.erase(items.begin() + i);
JA_PlaySound(itemSound);
*itemsPicked = *itemsPicked + 1;
options->items = *itemsPicked;
options->stats.items = *itemsPicked;
return true;
}
}