Jeck - More deck editor fixes, linked in prior coded subtype filter.

This commit is contained in:
wagic.jeck
2010-02-19 21:54:39 +00:00
parent afffd4509f
commit 25e6906149
8 changed files with 39 additions and 29 deletions
+1 -2
View File
@@ -40,8 +40,7 @@ int MTGPackSlot::add(WSrcCards * ocean, MTGDeck *to, int carryover){
int fails = 0;
int amt = copies + carryover;
WSrcCards * myPool = NULL;
if(pool.size())
myPool = MTGPack::getPool(pool);
if(pool.size()) myPool = MTGPack::getPool(pool);
if(!myPool) myPool = ocean;
for(int i=0;i<amt;i++){
size_t pos = rand() % entries.size();