fix bullet owner bug

This commit is contained in:
2021-08-25 17:59:40 +02:00
parent 3440dea0a5
commit 5bb5022ebf
6 changed files with 18 additions and 16 deletions

View File

@@ -34,7 +34,7 @@ void Bullet::init(int x, int y, int kind, bool poweredUp, int owner, LTexture *t
mKind = kind;
// Identificador del dueño del objeto
mOwner = -1;
mOwner = owner;
// Textura con los gráficos del objeto
mSprite->setTexture(texture);