mirror of
https://github.com/vcmi/vcmi.git
synced 2025-06-29 00:41:38 +02:00
* fix for #404
This commit is contained in:
@ -2702,6 +2702,8 @@ std::set<CStack*> BattleInfo::getAttackedCreatures( const CSpell * s, int skillL
|
||||
|
||||
int BattleInfo::calculateSpellDuration(const CSpell * spell, const CGHeroInstance * caster)
|
||||
{
|
||||
if(!caster) //TODO: something better
|
||||
return 1;
|
||||
switch(spell->id)
|
||||
{
|
||||
case 56: //frenzy
|
||||
|
Reference in New Issue
Block a user