Fallo parcial en la carga de animaciones desde streams
This commit is contained in:
@@ -2,9 +2,9 @@
|
||||
#include "balloon.h"
|
||||
|
||||
// Constructor
|
||||
Balloon::Balloon(float x, float y, Uint8 kind, float velx, float speed, Uint16 creationtimer, LTexture *texture, std::string file, SDL_Renderer *renderer)
|
||||
Balloon::Balloon(float x, float y, Uint8 kind, float velx, float speed, Uint16 creationtimer, LTexture *texture, std::stringstream *stream, SDL_Renderer *renderer)
|
||||
{
|
||||
mSprite = new AnimatedSprite(texture, renderer, file);
|
||||
mSprite = new AnimatedSprite(texture, renderer, "", stream);
|
||||
disable();
|
||||
|
||||
mEnabled = true;
|
||||
|
||||
Reference in New Issue
Block a user