From 14e4775d54a5941bf31ae4944c6e061737f4b611 Mon Sep 17 00:00:00 2001 From: "omegablast2002@yahoo.com" Date: Fri, 1 Apr 2011 11:14:06 +0000 Subject: [PATCH] cleaned up the alias change i made earlier today. --- projects/mtg/src/MTGAbility.cpp | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/projects/mtg/src/MTGAbility.cpp b/projects/mtg/src/MTGAbility.cpp index cf3bd5885..efa8a2448 100644 --- a/projects/mtg/src/MTGAbility.cpp +++ b/projects/mtg/src/MTGAbility.cpp @@ -3181,15 +3181,9 @@ void AbilityFactory::addAbilities(int _id, Spell * spell) GameObserver * game = GameObserver::GetInstance(); MTGPlayerCards * zones = card->controller()->game; - int id = 0; - if (card->alias) - id = card->alias; + int id = card->alias; switch (id) { - case 0: - { - break; - } case 1092: //Aladdin's lamp { AAladdinsLamp * ability = NEW AAladdinsLamp(_id, card);