@@ -2774,7 +2774,6 @@ WEvent * MTGDredgeRule::replace(WEvent * event)
|
|||||||
Player * p = game->players[i];
|
Player * p = game->players[i];
|
||||||
if (e->player == p)
|
if (e->player == p)
|
||||||
{
|
{
|
||||||
int Dredgers = 0;
|
|
||||||
vector<MTGAbility*>menusOfferedWithDredge;
|
vector<MTGAbility*>menusOfferedWithDredge;
|
||||||
for(int draw = 0;draw < e->nb_cards;draw++)
|
for(int draw = 0;draw < e->nb_cards;draw++)
|
||||||
{
|
{
|
||||||
@@ -2804,7 +2803,6 @@ WEvent * MTGDredgeRule::replace(WEvent * event)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
int Choices = int(selection.size());
|
|
||||||
//there is a memleak here that i have no idea what causes it. got it reduced to just 4 bytes but its still bothering me.
|
//there is a memleak here that i have no idea what causes it. got it reduced to just 4 bytes but its still bothering me.
|
||||||
if (int(menusOfferedWithDredge.size()) < toDredge)
|
if (int(menusOfferedWithDredge.size()) < toDredge)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user