mirror of
https://github.com/amyinspace/MagicSetEditor2.git
synced 2026-06-10 13:06:59 -04:00
mostly backwards compatibility with old pack system, uses boost tribool
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1311 0fc631ac-6414-0410-93d0-97cfa31319b6
This commit is contained in:
@@ -268,7 +268,7 @@ void RandomPackPanel::onChangeSet() {
|
||||
|
||||
// add pack controls
|
||||
FOR_EACH(pack, set->game->pack_types) {
|
||||
#if NEW_PACK_SYSTEM
|
||||
#if USE_NEW_PACK_SYSTEM
|
||||
if (pack->selectable) {
|
||||
#endif
|
||||
PackItem i;
|
||||
@@ -278,7 +278,7 @@ void RandomPackPanel::onChangeSet() {
|
||||
packsSizer->Add(i.label, 0, wxALIGN_CENTER_VERTICAL);
|
||||
packsSizer->Add(i.value, 0, wxEXPAND | wxALIGN_CENTER);
|
||||
packs.push_back(i);
|
||||
#if NEW_PACK_SYSTEM
|
||||
#if USE_NEW_PACK_SYSTEM
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user