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:
wagic.jeck
2009-11-01 22:40:33 +00:00
parent f3ad432d9b
commit c501d96336
+1
View File
@@ -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{