From e783b0c2ec81df11afc5e148772adb5e5b4d4175 Mon Sep 17 00:00:00 2001 From: levlam Date: Tue, 20 Oct 2020 21:40:05 +0300 Subject: [PATCH] Enable background animation for slot machines with all reels equal. GitOrigin-RevId: e6d0097ff049ece01be766d382defde3071a887b --- td/telegram/StickersManager.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/td/telegram/StickersManager.cpp b/td/telegram/StickersManager.cpp index 7b1783f94..09417afea 100644 --- a/td/telegram/StickersManager.cpp +++ b/td/telegram/StickersManager.cpp @@ -1407,7 +1407,7 @@ tl_object_ptr StickersManager::get_dice_stickers_object(co return nullptr; } - int32 background_id = value == 64 ? 1 : 0; + int32 background_id = value == 1 || value == 22 || value == 43 || value == 64 ? 1 : 0; int32 lever_id = 2; int32 left_reel_id = value == 64 ? 3 : 8; int32 center_reel_id = value == 64 ? 9 : 14;