1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-11-23 22:37:55 +02:00

Better handling of HYPNOTISED stacks in case of spellcasting

This commit is contained in:
AlexVinS
2017-07-09 16:55:10 +03:00
parent 00bd1bd100
commit f0713c1d36
6 changed files with 30 additions and 53 deletions

View File

@@ -807,7 +807,7 @@ int CStack::getEffectValue(const CSpell * spell) const
const PlayerColor CStack::getOwner() const
{
return owner;
return battle->battleGetOwner(this);
}
void CStack::getCasterName(MetaString & text) const