1
0
Fork 0
mirror of https://github.com/luanti-org/luanti.git synced 2025-06-27 16:36:03 +00:00

Fix animation_image support in scroll containers

This commit is contained in:
Jean-Patrick Guerrero 2021-02-08 00:04:38 +00:00 committed by rubenwardy
parent 857dbcd572
commit 6591597430
2 changed files with 2 additions and 1 deletions

View file

@ -928,7 +928,7 @@ void GUIFormSpecMenu::parseAnimatedImage(parserData *data, const std::string &el
core::rect<s32> rect = core::rect<s32>(pos, pos + geom);
GUIAnimatedImage *e = new GUIAnimatedImage(Environment, this, spec.fid,
GUIAnimatedImage *e = new GUIAnimatedImage(Environment, data->current_parent, spec.fid,
rect, texture_name, frame_count, frame_duration, m_tsrc);
if (parts.size() >= 7)