Remove test debug output. Fix HUD fading.

This commit is contained in:
Tobias Loose
2013-12-07 13:01:14 +01:00
parent 14c164364e
commit 5efa7e10bd
2 changed files with 1 additions and 2 deletions

View File

@@ -132,7 +132,6 @@ MTGCard * CarouselDeckView::Click(int x, int y)
}
else
{
DebugTrace(">>>>> " << n);
changePosition(n - 2);
}
}

View File

@@ -386,7 +386,7 @@ void GameStateDeckViewer::Update(float dt)
//Prevent screen from updating.
return;
}
hudAlpha = 255 - ((int) last_user_activity * 500);
hudAlpha = 255 - (int)(MAX(last_user_activity-2.0f, 0) * 500);
if (hudAlpha < 0) hudAlpha = 0;
if (subMenu)
{