diff --git a/projects/mtg/src/CardSelector.cpp b/projects/mtg/src/CardSelector.cpp index 600c769a5..630d102a9 100644 --- a/projects/mtg/src/CardSelector.cpp +++ b/projects/mtg/src/CardSelector.cpp @@ -73,9 +73,7 @@ CardSelector::Target* CardSelector::fetchMemory(SelectorMemory& memory) } // We come here if the card is not in the selector any more, or if // it is there but it is now refused by the limitor. - PlayGuiObject* x = closest(cards, limitor, memory.x, memory.y); - CardView* c = dynamic_cast(x); - return x; + return closest(cards, limitor, memory.x, memory.y); } template<> void CardSelector::Push()