1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-01-26 03:52:01 +02:00
* disallow geneie to cast teleport
This commit is contained in:
AlexVinS 2014-11-28 20:39:23 +03:00
parent bddf662178
commit e583f4e44d
2 changed files with 2 additions and 0 deletions

View File

@ -2295,6 +2295,7 @@ SpellID CBattleInfoCallback::getRandomBeneficialSpell(const CStack * subject) co
continue;
}
break;
case SpellID::TELEPORT: //issue 1928
case SpellID::CLONE: //not allowed
continue;
break;

View File

@ -1197,6 +1197,7 @@ void BattleResult::applyGs( CGameState *gs )
void BattleStackMoved::applyGs( CGameState *gs )
{
CStack *s = gs->curB->getStack(stack);
assert(s);
BattleHex dest = tilesToMove.back();
//if unit ended movement on quicksands that were created by enemy, that quicksand patch becomes visible for owner