allow importing animated terrain icon

This commit is contained in:
2025-08-24 18:40:33 -05:00
parent 7772a4f389
commit c64367b850
3 changed files with 23 additions and 2 deletions

View File

@@ -86,7 +86,7 @@ public:
}
cPict& operator=(cPict& other) = delete;
cPict(cPict& other) = delete;
inline static void resetAnim() { animFrame = 0; }
inline static void resetAnim(int frame = 0) { animFrame = frame; }
void setAnimLoops(short value);
private:
static std::shared_ptr<const sf::Texture> getSheetInternal(eSheetType type, size_t n);