fix: no aparecían nunca diskitos

This commit is contained in:
2024-07-12 18:48:51 +02:00
parent a4dc3d20e2
commit 2ca218c075
6 changed files with 89 additions and 89 deletions

View File

@@ -2,7 +2,7 @@
#include "item.h"
// Constructor
Item::Item(Uint8 kind, float x, float y, Texture *texture, std::vector<std::string> *animation, SDL_Renderer *renderer)
Item::Item(int kind, float x, float y, Texture *texture, std::vector<std::string> *animation, SDL_Renderer *renderer)
{
sprite = new AnimatedSprite(texture, renderer, "", animation);