From 00142c949c29ea0c461764349629780acfc9f881 Mon Sep 17 00:00:00 2001 From: Zeno Rogue Date: Sat, 29 May 2021 20:08:08 +0200 Subject: [PATCH] fixed the animation of dice made angry --- game.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/game.cpp b/game.cpp index d1442ee6..4b603267 100644 --- a/game.cpp +++ b/game.cpp @@ -382,7 +382,6 @@ EX void pushThumper(const movei& mi) { else if(among(w, waRichDie, waHappyDie)) { th->wall = waNone; cto->wall = w; - animateMovement(mi, LAYER_BOAT); dice::roll(mi); if(w == waRichDie && dice::data[cto].happy() > 0) { cto->wall = waHappyDie; @@ -399,7 +398,10 @@ EX void pushThumper(const movei& mi) { cto->wall = waNone; cto->stuntime = 5; addMessage(XLAT("You have made a Happy Die angry!")); + animateMovement(mi, LAYER_SMALL); } + else + animateMovement(mi, LAYER_BOAT); } else cto->wall = w;