Fixed issue 677

This commit is contained in:
Xawotihs
2011-07-04 19:09:19 +00:00
parent 25be470f4b
commit c25dfe426f
8 changed files with 86 additions and 103 deletions

View File

@@ -214,7 +214,17 @@ bool CardSelector::CheckUserInput(JButton key)
options[Options::DISABLECARDS].number = 0;
return true;
default:
return false;
{
int x,y;
if(JGE::GetInstance()->GetLeftClickCoordinates(x, y))
{
active = closest<True> (cards, limitor, static_cast<float> (x), static_cast<float> (y));
}
else
{
return false;
}
}
}
if (active != oldactive)
{