Activated mouse tracking in option and award menus. Activated offset support in SimpleMenu, it should help for issue 674

This commit is contained in:
Xawotihs
2011-06-04 16:22:45 +00:00
parent 715d498bce
commit 4bf255596f
5 changed files with 17 additions and 9 deletions

View File

@@ -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)
{