- fix issue 151 (I hope)
- small french translation Update
- Nezumi Cutthroat fix
This commit is contained in:
wagic.the.homebrew@gmail.com
2009-11-03 03:51:05 +00:00
parent 7fd44a077e
commit 1d20f37ded
9 changed files with 33 additions and 24 deletions
+5 -3
View File
@@ -727,6 +727,11 @@ int AIPlayerBaka::computeActions(){
return 1;
};
int AIPlayer::receiveEvent(WEvent * event){
if (getStats()) return getStats()->receiveEvent(event);
return 0;
}
int AIPlayerBaka::Act(float dt){
GameObserver * g = GameObserver::GetInstance();
@@ -736,9 +741,6 @@ int AIPlayerBaka::Act(float dt){
int currentGamePhase = g->getCurrentGamePhase();
if (currentGamePhase == Constants::MTG_PHASE_CLEANUP && currentGamePhase != oldGamePhase){
if (getStats()) getStats()->updateStats();
}
oldGamePhase = currentGamePhase;
timer-= dt;