aboutsummaryrefslogtreecommitdiff
path: root/src/hud.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/hud.cpp')
-rw-r--r--src/hud.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/hud.cpp b/src/hud.cpp
index a2f031b4c..6bdbafc06 100644
--- a/src/hud.cpp
+++ b/src/hud.cpp
@@ -639,7 +639,7 @@ void drawItemStack(video::IVideoDriver *driver,
ItemRotationKind rotation_kind)
{
static MeshTimeInfo rotation_time_infos[IT_ROT_NONE];
- static bool enable_animations =
+ static thread_local bool enable_animations =
g_settings->getBool("inventory_items_animations");
if (item.empty()) {