diff options
author | Colin Noga <Tempus@chronometry.ca> | 2012-11-15 13:21:41 -0600 |
---|---|---|
committer | Colin Noga <Tempus@chronometry.ca> | 2012-11-15 13:21:41 -0600 |
commit | ada63c188cf80a3b8436b09d8eea0cb0d37a7586 (patch) | |
tree | 7d7f622d460ecbf62340bf53d8644d378a1df0e0 /src/koopatlas/shop.cpp | |
parent | 486a7c1c98a072dee5b9e1c383962998da55d3bb (diff) | |
download | kamek-ada63c188cf80a3b8436b09d8eea0cb0d37a7586.tar.gz kamek-ada63c188cf80a3b8436b09d8eea0cb0d37a7586.zip |
pathmanager fixes
Diffstat (limited to 'src/koopatlas/shop.cpp')
-rw-r--r-- | src/koopatlas/shop.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/koopatlas/shop.cpp b/src/koopatlas/shop.cpp index b42c58a..514bd43 100644 --- a/src/koopatlas/shop.cpp +++ b/src/koopatlas/shop.cpp @@ -547,6 +547,11 @@ void dWMShop_c::buyItem(int item) { block->player_lives[i] = 99; } + // load the coin count + int scCount = getStarCoinCount(); + WriteNumberToTextBox(&scCount, CoinCount, false); + WriteNumberToTextBox(&scCount, CoinCountShadow, false); + state.setState(&StateID_HideWait); } |