Jeck - TEMPORARY fix for AllAbilities, which was preventing PSP compilation. Please address this, as I'm not certain what the intended return value was.
This commit is contained in:
@@ -3017,6 +3017,7 @@ class AHypnoticSpecter:public MTGAbility{
|
|||||||
Player * p = dynamic_cast<Player *>(e->damage->target);
|
Player * p = dynamic_cast<Player *>(e->damage->target);
|
||||||
if (!p) return 0;
|
if (!p) return 0;
|
||||||
p->game->discardRandom(p->game->hand);
|
p->game->discardRandom(p->game->hand);
|
||||||
|
return 1; //is this meant to return 0 or 1?
|
||||||
}
|
}
|
||||||
|
|
||||||
AHypnoticSpecter * clone() const{
|
AHypnoticSpecter * clone() const{
|
||||||
|
|||||||
Reference in New Issue
Block a user