fix for that stupid bug where cards get added randomly while quickly going through your collection by pressing cards quickly.

basically if the last tap was less then .05 don't automatically register it as "addremovecard".
This commit is contained in:
omegablast2002@yahoo.com
2012-04-07 14:13:00 +00:00
parent 596aa2b92e
commit a3848e06f4

View File

@@ -508,7 +508,7 @@ void GameStateDeckViewer::Update(float dt)
mEngine->LeftClickedProcessed();
}
if(mStage != STAGE_TRANSITION_SELECTED)
if(mStage != STAGE_TRANSITION_SELECTED && last_user_activity > .05)
{
last_user_activity = 0;
addRemove(cardIndex[2]);