summaryrefslogtreecommitdiff
path: root/src/koopatlas/hud.cpp
diff options
context:
space:
mode:
authorColin Noga <Tempus@chronometry.ca>2012-07-20 15:10:14 -0500
committerColin Noga <Tempus@chronometry.ca>2012-07-20 15:10:14 -0500
commit2d39f19d92673bb9a8f12a71bbd6d86dd2166237 (patch)
treeae0c64dd5329b42564c00ecb990b956467addea0 /src/koopatlas/hud.cpp
parent7db25a9cb78f98d57fa0e386eb4a14c2842d52e7 (diff)
downloadkamek-2d39f19d92673bb9a8f12a71bbd6d86dd2166237.tar.gz
kamek-2d39f19d92673bb9a8f12a71bbd6d86dd2166237.zip
Bugfix to the hud, added in player animations for path movement
Diffstat (limited to 'src/koopatlas/hud.cpp')
-rw-r--r--src/koopatlas/hud.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/koopatlas/hud.cpp b/src/koopatlas/hud.cpp
index 72f9d5a..587c2c0 100644
--- a/src/koopatlas/hud.cpp
+++ b/src/koopatlas/hud.cpp
@@ -5,7 +5,7 @@ void CharToWChar(const char *input, wchar_t *output, int length) { for (int i =
int getStarCoinCount() {
SaveBlock *save = GetSaveFile()->GetBlock(-1);
- int coinsSpent = save->ambush_countdown[0];
+ int coinsSpent = 0;
int coinsEarned = 0;
for (int w = 0; w < 10; w++) {
@@ -228,7 +228,7 @@ void dWMHud_c::setPointName() {
void dWMHud_c::checkPointStatus() {
dKPNode_s *node = dScKoopatlas_c::instance->pathManager.currentNode;
- if (node->type == dKPNode_s::LEVEL) {
+ if ((node->type == dKPNode_s::LEVEL) && ((node->levelNumber[1] < 30) || (node->levelNumber[1] > 37))) {
SaveBlock *save = GetSaveFile()->GetBlock(-1);
int world = node->levelNumber[0];