diff --git a/src/client/hud.cpp b/src/client/hud.cpp index df3e13e3a..6bb9c234b 100644 --- a/src/client/hud.cpp +++ b/src/client/hud.cpp @@ -1046,8 +1046,7 @@ void drawItemStack( return; } - const static thread_local bool enable_animations = - g_settings->getBool("inventory_items_animations"); + const bool enable_animations = g_settings->getBool("inventory_items_animations"); auto *idef = client->idef(); const ItemDefinition &def = item.getDefinition(idef);