Apply `inventory_items_animations` setting without restarting
parent
671592fbaf
commit
5766f94079
|
@ -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()) {
|
||||
|
|
Loading…
Reference in New Issue