DjWarmonger 12 years ago
parent
commit
e5783801af
1 changed files with 4 additions and 3 deletions
  1. 4 3
      client/BattleInterface/CBattleInterface.cpp

+ 4 - 3
client/BattleInterface/CBattleInterface.cpp

@@ -2043,9 +2043,10 @@ void CBattleInterface::activateStack()
 	{
 		stackCanCastSpell = true;
 		if(randomSpellcaster)
-			creatureSpellToCast = -1;
-		else
-			creatureSpellToCast = curInt->cb->battleGetRandomStackSpell(s, CBattleInfoCallback::RANDOM_AIMED); //faerie dragon can cast only one spell until their next move
+			creatureSpellToCast = -1; //spell will be set later on cast
+
+		creatureSpellToCast = curInt->cb->battleGetRandomStackSpell(s, CBattleInfoCallback::RANDOM_AIMED); //faerie dragon can cast only one spell until their next move
+		//TODO: what if creature can cast BOTH random genie spell and aimed spell?
 	}
 	else
 	{