Jeck - quick fix to issue 285. Meant to do this later today with some other stuff, but had it ready now, so...

Eventually, the WDataSource stuff will need to be analyzed more in depth. WSrcMTGSet is very similar (though simplified) in functionality to the deck data wrapper stuff.
This commit is contained in:
wagic.jeck
2010-01-04 12:59:57 +00:00
parent 7f46793031
commit 4ea8234f79

View File

@@ -1401,7 +1401,7 @@ WSrcMTGSet::WSrcMTGSet(int setid, float delay){
mLastInput = 0;
for(it = ac->collection.begin();it != ac->collection.end();it++){
if(it->second->setId == setid)
if(it->second->setId == setid && it->second->getId() >= 0)
cards.push_back(it->second);
}