summaryrefslogtreecommitdiff
path: root/src/koopatlas/hud.cpp
diff options
context:
space:
mode:
authorTreeki <treeki@gmail.com>2013-04-30 21:07:29 +0200
committerTreeki <treeki@gmail.com>2013-04-30 21:07:29 +0200
commit1813612ed36ee857ce9a5f324c1a9a748ffa00cd (patch)
treee167e1ee2423adcd52d942e4c511a48dfcaf8b0f /src/koopatlas/hud.cpp
parent24b055139705f63edecb3ceec9db3d3031cf01f7 (diff)
downloadkamek-1813612ed36ee857ce9a5f324c1a9a748ffa00cd.tar.gz
kamek-1813612ed36ee857ce9a5f324c1a9a748ffa00cd.zip
fix bugs involving the After Fortress Mode in KP
Diffstat (limited to 'src/koopatlas/hud.cpp')
-rw-r--r--src/koopatlas/hud.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/koopatlas/hud.cpp b/src/koopatlas/hud.cpp
index 22928a5..592d3b2 100644
--- a/src/koopatlas/hud.cpp
+++ b/src/koopatlas/hud.cpp
@@ -397,7 +397,7 @@ void dWMHud_c::enteredNode(dKPNode_s *node) {
if (node == 0)
node = dScKoopatlas_c::instance->pathManager.currentNode;
- if (node->type == dKPNode_s::LEVEL) {
+ if (node->type == dKPNode_s::LEVEL && doneFirstShow) {
willShowHeader = true;
nodeForHeader = node;
}
@@ -422,6 +422,8 @@ void dWMHud_c::hideFooter() {
}
void dWMHud_c::showFooter() {
+ if (!doneFirstShow)
+ return;
willShowFooter = true;
if (isFooterVisible)
playHideAnim(SHOW_FOOTER);