git repos / blockattack-game

commit fd1a6361

sago007 · 2016-10-02 13:31
fd1a6361309caf2d9bd3c7de1fabede42c366de8 patch · browse files
parent 3a164ed38dd608634f2f2e73c5f977a5ffa9786a

Fixed initializers

Changed files

M source/code/sago/SagoSprite.cpp before
diff --git a/source/code/sago/SagoSprite.cpp b/source/code/sago/SagoSprite.cpp index 9e4176e..39d0ef0 100644 --- a/source/code/sago/SagoSprite.cpp +++ b/source/code/sago/SagoSprite.cpp
@@ -29,8 +29,8 @@ namespace sago {
struct SagoSprite::SagoSpriteData {
SDL_Texture* tex = nullptr;
- SDL_Rect imgCord;
- SDL_Rect origin = {};
+ SDL_Rect imgCord{};
+ SDL_Rect origin{};
int aniFrames = 0;
int aniFrameTime = 0;
};