* Fix u32 into JButtons.
* Add a few comments.
* Remove useless variables.
This commit is contained in:
jean.chalard
2010-02-24 17:28:17 +00:00
parent 3ac6bc3ec3
commit 39c5a3d465
38 changed files with 58 additions and 63 deletions

View File

@@ -137,7 +137,7 @@ bool GuiCombat::clickOK(){
return false;
}
bool GuiCombat::CheckUserInput(u32 key)
bool GuiCombat::CheckUserInput(JButton key)
{
if (NONE == cursor_pos) return false;
DamagerDamaged* oldActive = active;
@@ -251,6 +251,8 @@ bool GuiCombat::CheckUserInput(u32 key)
if (options[Options::REVERSETRIGGERS].number) return false;
active = activeAtk = NULL; cursor_pos = OK;
break;
default:
;
}
if (oldActive != active)
{