summaryrefslogtreecommitdiff
path: root/src/koopatlas/core.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/koopatlas/core.cpp
parentad21da0675fe04c23bbb88763d4683648e812b8f (diff)
downloadkamek-63bde25084daafeb0aeaa584d3624f0c77ec043d.tar.gz
kamek-63bde25084daafeb0aeaa584d3624f0c77ec043d.zip
committing my untested and slightly unfinished shop
Diffstat (limited to '')
-rw-r--r--src/koopatlas/core.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/koopatlas/core.cpp b/src/koopatlas/core.cpp
index f7622f6..6fb030a 100644
--- a/src/koopatlas/core.cpp
+++ b/src/koopatlas/core.cpp
@@ -797,7 +797,7 @@ void dScKoopatlas_c::executeState_PowerupsWait() {
// STATE_ShopWait : Wait for the user to exit the Shop screen.
void dScKoopatlas_c::executeState_ShopWait() {
- if (shop->isHidden) {
+ if (!shop->visible) {
state.setState(&StateID_Normal);
}