diff options
Diffstat (limited to '')
-rw-r--r-- | src/koopatlas/shop.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/koopatlas/shop.cpp b/src/koopatlas/shop.cpp index 4ee20f7..025a7d9 100644 --- a/src/koopatlas/shop.cpp +++ b/src/koopatlas/shop.cpp @@ -519,7 +519,7 @@ void dWMShop_c::loadInfo() { TitleShadow->SetString(shopName); // load the coin count - int scCount = getStarCoinCount(); + int scCount = getUnspentStarCoinCount(); WriteNumberToTextBox(&scCount, CoinCount, false); WriteNumberToTextBox(&scCount, CoinCountShadow, false); } @@ -532,7 +532,7 @@ void dWMShop_c::buyItem(int item) { {5, 4, 3}, {8, 7, 5} }; - int cost = itemDefs[item][0], cash = getStarCoinCount(); + int cost = itemDefs[item][0], cash = getUnspentStarCoinCount(); if (cost > cash) { lakituModel->playAnim("notenough", 1.0f, 1); @@ -580,7 +580,7 @@ void dWMShop_c::buyItem(int item) { } // load the coin count - int scCount = getStarCoinCount(); + int scCount = getUnspentStarCoinCount(); WriteNumberToTextBox(&scCount, CoinCount, false); WriteNumberToTextBox(&scCount, CoinCountShadow, false); |