Mouse support in graveyards an library browsing during battle
This commit is contained in:
@@ -73,7 +73,11 @@ void DuelLayers::CheckUserInput(int isAI){
|
||||
}
|
||||
if(JGE::GetInstance()->GetLeftClickCoordinates(x, y))
|
||||
{
|
||||
if (cs->CheckUserInput(x, y))
|
||||
if (avatars->CheckUserInput(x, y))
|
||||
{
|
||||
JGE::GetInstance()->LeftClickedProcessed();
|
||||
}
|
||||
else if (cs->CheckUserInput(x, y))
|
||||
{
|
||||
JGE::GetInstance()->LeftClickedProcessed();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user