From 4ea8234f79c1f3f4d5cc09c976e09178a5c126d1 Mon Sep 17 00:00:00 2001 From: "wagic.jeck" Date: Mon, 4 Jan 2010 12:59:57 +0000 Subject: [PATCH] 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. --- projects/mtg/src/OptionItem.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/projects/mtg/src/OptionItem.cpp b/projects/mtg/src/OptionItem.cpp index eea400d8d..5f4837698 100644 --- a/projects/mtg/src/OptionItem.cpp +++ b/projects/mtg/src/OptionItem.cpp @@ -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); }