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
-1
View File
@@ -132,7 +132,6 @@ MTGCard * CarouselDeckView::Click(int x, int y)
} }
else else
{ {
DebugTrace(">>>>> " << n);
changePosition(n - 2); changePosition(n - 2);
} }
} }
+1 -1
View File
@@ -386,7 +386,7 @@ void GameStateDeckViewer::Update(float dt)
//Prevent screen from updating. //Prevent screen from updating.
return; 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 (hudAlpha < 0) hudAlpha = 0;
if (subMenu) if (subMenu)
{ {