* Fix a couple warnings and a bug.
This commit is contained in:
jean.chalard
2009-01-06 13:22:29 +00:00
parent f8c96737e8
commit 7f97862f5e
6 changed files with 5 additions and 12 deletions
-3
View File
@@ -252,7 +252,6 @@ void MTGGuiPlay::AddPlayersGuiInfo(){
void MTGGuiPlay::Update(float dt){
updateCards();
PlayGuiObjectController::Update(dt);
GameObserver * game = GameObserver::GetInstance();
}
@@ -269,10 +268,8 @@ bool MTGGuiPlay::CheckUserInput(u32 key){
void MTGGuiPlay::RenderPlayerInfo(int playerid){
GameObserver * game = GameObserver::GetInstance();
JRenderer * r = JRenderer::GetInstance();
Player * player = GameObserver::GetInstance()->players[playerid];
int life = player->life;
//Avatar
GuiAvatar * avatar = (GuiAvatar *)mObjects[3*playerid];