From 1813612ed36ee857ce9a5f324c1a9a748ffa00cd Mon Sep 17 00:00:00 2001 From: Treeki Date: Tue, 30 Apr 2013 21:07:29 +0200 Subject: fix bugs involving the After Fortress Mode in KP --- src/koopatlas/hud.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/koopatlas/hud.cpp') 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); -- cgit v1.2.3