From b3c37e5a9ef81250d6554fcbb8089154b4940c9f Mon Sep 17 00:00:00 2001 From: Treeki Date: Fri, 28 Sep 2012 05:58:20 +0200 Subject: tiny bug in the HUD header hide animation fixed --- src/koopatlas/hud.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/koopatlas/hud.cpp b/src/koopatlas/hud.cpp index 7bc69a6..2401a04 100644 --- a/src/koopatlas/hud.cpp +++ b/src/koopatlas/hud.cpp @@ -501,7 +501,7 @@ void dWMHud_c::leftNode() { if (layout.grpHandlers[SHOW_HEADER].frameCtrl.currentFrame > 0.1f) { // not hidden - if ((layout.isAnimOn(SHOW_HEADER) && (layout.grpHandlers[SHOW_HEADER].frameCtrl.flags & 2)) + if ((layout.isAnimOn(SHOW_HEADER) && !(layout.grpHandlers[SHOW_HEADER].frameCtrl.flags & 2)) || (!layout.isAnimOn(SHOW_HEADER))) { // currently being shown, OR fully shown already playHideAnim(SHOW_HEADER); -- cgit v1.2.3