From 15f4780dd94a06bec5616155c05810c731d2e4af Mon Sep 17 00:00:00 2001 From: Paweł Redman Date: Wed, 13 Dec 2017 12:02:48 +0100 Subject: Add the alien. --- src/render.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'src/render.cpp') 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; } } -- cgit