Skip to content

Commit

Permalink
Maybe fix 5226
Browse files Browse the repository at this point in the history
  • Loading branch information
CodingJellyfish committed Dec 18, 2024
1 parent 7027212 commit 724a28c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/items/item.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down

0 comments on commit 724a28c

Please sign in to comment.