diff options
author | Treeki <treeki@gmail.com> | 2012-09-28 05:58:20 +0200 |
---|---|---|
committer | Treeki <treeki@gmail.com> | 2012-09-28 05:58:20 +0200 |
commit | b3c37e5a9ef81250d6554fcbb8089154b4940c9f (patch) | |
tree | 99d9bbf4d577ae2d8a79fcb5f7101df1b57398fe /src | |
parent | ae8aa681d1f431ee163ba2907616cb8409433c36 (diff) | |
download | kamek-b3c37e5a9ef81250d6554fcbb8089154b4940c9f.tar.gz kamek-b3c37e5a9ef81250d6554fcbb8089154b4940c9f.zip |
tiny bug in the HUD header hide animation fixed
Diffstat (limited to 'src')
-rw-r--r-- | src/koopatlas/hud.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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); |