Erwan
- Lords are now taken into account in AI statistics. (To display information, uncomment RENDER_AI_STATS in config.h) - fixed a potential segfault with NoFizzle
This commit is contained in:
@@ -238,7 +238,7 @@ class AAFizzler:public ActivatedAbility{
|
||||
|
||||
int resolve(){
|
||||
Spell * _target = (Spell *) target;
|
||||
if(_target->source->has(Constants::NOFIZZLE))
|
||||
if(target && _target->source->has(Constants::NOFIZZLE))
|
||||
return 0;
|
||||
game->mLayers->stackLayer()->Fizzle(_target);
|
||||
return 1;
|
||||
|
||||
Reference in New Issue
Block a user