From 5fe6aee84f60a894b6baed7f7aeeea59eded5065 Mon Sep 17 00:00:00 2001 From: Zeno Rogue Date: Thu, 23 Jun 2022 13:46:34 +0200 Subject: [PATCH] show treasure bubbles in Dice Reserve --- game.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/game.cpp b/game.cpp index c99b74d2..905da5f1 100644 --- a/game.cpp +++ b/game.cpp @@ -389,7 +389,11 @@ EX void pushThumper(const movei& mi) { if(w == waRichDie && dice::data[cto].happy() > 0) { cto->wall = waHappyDie; if(cto->land == laDice && th->land == laDice) { + int q = items[itDice]; gainItem(itDice); + if(vid.bubbles_all || (threshold_met(items[itDice]) > threshold_met(q) && vid.bubbles_threshold)) { + drawBubble(cto, iinf[itDice].color, its(items[itDice]), 0.5); + } addMessage(XLAT("The die is now happy, and you are rewarded!")); } else {