- fix for issue 462 (graphical glitch when cards come back from graveyard)
- adding Kaioshin's wallpaper
- fixed minor issue in mtg.txt
This commit is contained in:
wagic.the.homebrew@gmail.com
2010-09-28 13:58:22 +00:00
parent 3b0fad54e4
commit b79c7eea53
6 changed files with 26 additions and 19 deletions

View File

@@ -226,8 +226,13 @@ int GuiPlay::receiveEventPlus(WEvent * e)
(game->players[1]->inPlay() == event->to))
{
CardView * card;
if (event->card->view)
if (event->card->view){
//fix for http://code.google.com/p/wagic/issues/detail?id=462.
// We don't want a card in the hand to have an alpha of 0
event->card->view->alpha = 255;
card = NEW CardView(CardSelector::playZone, event->card, *(event->card->view));
}
else
card = NEW CardView(CardSelector::playZone, event->card, 0, 0);
cards.push_back(card);