diff options
author | Paweł Redman <pawel.redman@gmail.com> | 2017-12-13 12:02:48 +0100 |
---|---|---|
committer | Paweł Redman <pawel.redman@gmail.com> | 2017-12-13 12:02:48 +0100 |
commit | 15f4780dd94a06bec5616155c05810c731d2e4af (patch) | |
tree | 11c6917805582f603e36bc47e7fd14f95b713a2b /src/render.cpp | |
parent | efaa4c026b60d52705b163f6886567793ef94123 (diff) |
Add the alien.
Diffstat (limited to 'src/render.cpp')
-rw-r--r-- | src/render.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/render.cpp b/src/render.cpp index 48beaa9..b80dcbd 100644 --- a/src/render.cpp +++ b/src/render.cpp @@ -272,6 +272,7 @@ bool animated_texture_t::load(std::string prefix, size_t frame_count_) if (!frames[i].loadFromFile(path)) { delete[] frames; frames = NULL; + frame_count = 0; return false; } } |