summaryrefslogtreecommitdiff
path: root/src/koopatlas/hud.cpp
diff options
context:
space:
mode:
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);