Activated mouse tracking in option and award menus. Activated offset support in SimpleMenu, it should help for issue 674
This commit is contained in:
@@ -175,8 +175,9 @@ void GameStateAwards::Update(float dt)
|
||||
}
|
||||
else
|
||||
{
|
||||
JButton key;
|
||||
while ((key = JGE::GetInstance()->ReadButton()))
|
||||
JButton key = JGE_BTN_NONE;
|
||||
int x, y;
|
||||
while ((key = JGE::GetInstance()->ReadButton()) || JGE::GetInstance()->GetLeftClickCoordinates(x,y))
|
||||
{
|
||||
switch (key)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user