Fix for issue 476 (Test suite debug error in VC++)

This commit is contained in:
wagic.the.homebrew
2011-10-20 13:22:54 +00:00
parent 84a074aede
commit 91e9881903

View File

@@ -974,10 +974,10 @@ int GameObserver::cardClick(MTGCardInstance * card, int abilityType)
int GameObserver::cardClick(MTGCardInstance * card, Targetable * object)
{
Player * clickedPlayer = NULL;
int toReturn;
MTGGameZone* zone;
size_t index;
MTGCardInstance* backup;
int toReturn = 0;
MTGGameZone* zone = NULL;
size_t index = 0;
MTGCardInstance* backup = NULL;
if (!card) {
clickedPlayer = ((Player *) object);