i introduced a bug a couple revs back. dyslexia got me.
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user