* Input fix.
* A lot of code cleaning spread across a lot of files.
This commit is contained in:
jean.chalard
2008-11-24 12:11:16 +00:00
parent 3721247bee
commit 3518166189
28 changed files with 405 additions and 438 deletions
+3 -6
View File
@@ -259,17 +259,14 @@ void MTGGuiPlay::Update(float dt){
void MTGGuiPlay::CheckUserInput(float dt){
bool MTGGuiPlay::CheckUserInput(u32 key){
for (int i = 2; i<6;i++){
GuiGameZone * zone = (GuiGameZone *)mObjects[i];
if (zone->showCards){
zone->cd->CheckUserInput(dt);
return;
return zone->cd->CheckUserInput(key);
}
}
PlayGuiObjectController::CheckUserInput(dt);
return PlayGuiObjectController::CheckUserInput(key);
}