Fix for issue 476 (Test suite debug error in VC++)
This commit is contained in:
@@ -974,10 +974,10 @@ int GameObserver::cardClick(MTGCardInstance * card, int abilityType)
|
|||||||
int GameObserver::cardClick(MTGCardInstance * card, Targetable * object)
|
int GameObserver::cardClick(MTGCardInstance * card, Targetable * object)
|
||||||
{
|
{
|
||||||
Player * clickedPlayer = NULL;
|
Player * clickedPlayer = NULL;
|
||||||
int toReturn;
|
int toReturn = 0;
|
||||||
MTGGameZone* zone;
|
MTGGameZone* zone = NULL;
|
||||||
size_t index;
|
size_t index = 0;
|
||||||
MTGCardInstance* backup;
|
MTGCardInstance* backup = NULL;
|
||||||
|
|
||||||
if (!card) {
|
if (!card) {
|
||||||
clickedPlayer = ((Player *) object);
|
clickedPlayer = ((Player *) object);
|
||||||
|
|||||||
Reference in New Issue
Block a user