diff --git a/src/hud.cpp b/src/hud.cpp index 2ae0db96..057c9447 100644 --- a/src/hud.cpp +++ b/src/hud.cpp @@ -650,7 +650,7 @@ void drawItemStack(video::IVideoDriver *driver, ItemRotationKind rotation_kind) { static MeshTimeInfo rotation_time_infos[IT_ROT_NONE]; - static bool enable_animations = + const bool enable_animations = g_settings->getBool("inventory_items_animations"); if (item.empty()) {