-a few warning fixes
This commit is contained in:
wagic.the.homebrew@gmail.com
2009-08-27 13:11:29 +00:00
parent a18b163b17
commit 890c893c94
6 changed files with 12 additions and 10 deletions

View File

@@ -490,8 +490,8 @@ int AIPlayer::chooseBlockers(){
}
int AIPlayer::orderBlockers(){
GameObserver * g = GameObserver::GetInstance();
/*
GameObserver * g = GameObserver::GetInstance();
DamageResolverLayer * drl = g->mLayers->combatLayer();
if (drl->orderingIsNeeded && g->currentPlayer==this){
drl->blockersOrderingDone(); //TODO clever rank of blockers
@@ -504,7 +504,7 @@ int AIPlayer::orderBlockers(){
int AIPlayer::combatDamages(){
int result = 0;
//int result = 0;
GameObserver * gameObs = GameObserver::GetInstance();
int currentGamePhase = gameObs->getCurrentGamePhase();