-removing useless code
-fixed a few cards (incorrect set)
This commit is contained in:
wagic.the.homebrew@gmail.com
2009-07-18 14:26:58 +00:00
parent da80398340
commit 01c62d04bf
13 changed files with 46 additions and 119 deletions

View File

@@ -67,21 +67,8 @@ ManaCost * Player::getManaPool(){
return manaPool;
}
int Player::testLife(){
if (life <=0){
#if defined (WIN32) || defined (LINUX)
//char buf[4096], *p = buf;
//sprintf(buf, "--Diff color TEST %i : %i\n", i, cost[i]);
OutputDebugString("GAME OVER\n");
#endif
//return GameObserver::GetInstance()->endOfGame();
}
return life;
}
int Player::afterDamage(){
return testLife();
return life;
}
//Cleanup phase at the end of a turn