Apply `inventory_items_animations` setting without restarting

master
MoNTE48 2021-12-20 22:59:02 +01:00
parent 671592fbaf
commit 5766f94079
1 changed files with 1 additions and 1 deletions

View File

@ -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()) {