summaryrefslogtreecommitdiff
path: root/src/koopatlas/shop.cpp
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/koopatlas/shop.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/koopatlas/shop.cpp b/src/koopatlas/shop.cpp
index 80d2dd6..5dc1937 100644
--- a/src/koopatlas/shop.cpp
+++ b/src/koopatlas/shop.cpp
@@ -395,6 +395,8 @@ void dWMShop_c::executeState_HideWait() {
if (timer > 0) {
timer--;
scaleEase = -((cos(timer * 3.14 /13.5)-0.9)/timer*10)+1;
+ if (scaleEase < 0.0f)
+ scaleEase = 0.0f;
}
if (!layout.isAnimOn(HIDE_ALL))