i introduced a bug a couple revs back. dyslexia got me.

This commit is contained in:
omegablast2002@yahoo.com
2013-02-16 21:07:13 +00:00
parent bf677b7bdd
commit a5ea3275cd
+1 -1
View File
@@ -585,7 +585,7 @@ void GameObserver::gameStateBasedEffects()
if(getCurrentTargetChooser() && int(getCurrentTargetChooser()->getNbTargets()) == getCurrentTargetChooser()->maxtargets) if(getCurrentTargetChooser() && int(getCurrentTargetChooser()->getNbTargets()) == getCurrentTargetChooser()->maxtargets)
getCurrentTargetChooser()->done = true; getCurrentTargetChooser()->done = true;
waitingGameStateCheck++; waitingGameStateCheck++;
if(waitingGameStateCheck > 50) if(waitingGameStateCheck < 50)
{ {
//if there are more than 50 unresolved actions on the stack, lets allow a gameStates update //if there are more than 50 unresolved actions on the stack, lets allow a gameStates update
//to make sure we are not caught up in a loop, example :Exquisite Blood + Sanguine Bond //to make sure we are not caught up in a loop, example :Exquisite Blood + Sanguine Bond