From 724a28cbb09ca01eb0e81c6cfaee52bc12fdaf32 Mon Sep 17 00:00:00 2001 From: CodingJellyfish Date: Wed, 18 Dec 2024 22:50:51 +0800 Subject: [PATCH] Maybe fix 5226 --- src/items/item.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/items/item.cpp b/src/items/item.cpp index ea4d441329..79f1b6f278 100644 --- a/src/items/item.cpp +++ b/src/items/item.cpp @@ -414,7 +414,7 @@ void Item::handleNewMesh(ItemType type) m_node->setRotation(hpr.toIrrHPR()); if (m_icon_node) - m_node->removeChild(m_icon_node); + m_appear_anime_node->removeChild(m_icon_node); m_icon_node = NULL; auto icon = ItemManager::getIcon(type);