summaryrefslogtreecommitdiff
path: root/src/newer.cpp
diff options
context:
space:
mode:
authorTreeki <treeki@gmail.com>2012-10-25 00:05:35 +0200
committerTreeki <treeki@gmail.com>2012-10-25 00:05:35 +0200
commit63bde25084daafeb0aeaa584d3624f0c77ec043d (patch)
tree0fe3aacd52415be927b48aee2ff103f6590d2fdc /src/newer.cpp
parentad21da0675fe04c23bbb88763d4683648e812b8f (diff)
downloadkamek-63bde25084daafeb0aeaa584d3624f0c77ec043d.tar.gz
kamek-63bde25084daafeb0aeaa584d3624f0c77ec043d.zip
committing my untested and slightly unfinished shop
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;
}