summaryrefslogtreecommitdiff
path: root/src/newer.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/newer.cpp')
-rw-r--r--src/newer.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/newer.cpp b/src/newer.cpp
index 7c4ce11..0830988 100644
--- a/src/newer.cpp
+++ b/src/newer.cpp
@@ -61,7 +61,7 @@ void getNewerLevelNumberString(int world, int level, wchar_t *dest) {
int getUnspentStarCoinCount() {
SaveBlock *save = GetSaveFile()->GetBlock(-1);
- int coinsSpent = save->credits_hiscore;
+ int coinsSpent = save->spentStarCoins;
return getStarCoinCount() - coinsSpent;
}