From 0a19ecf83dedc5289032b918dcac42dd6c301601 Mon Sep 17 00:00:00 2001 From: twanvl Date: Fri, 8 Aug 2008 18:38:19 +0000 Subject: [PATCH] NO_REPLACE is default for packs git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1103 0fc631ac-6414-0410-93d0-97cfa31319b6 --- doc/type/pack_item_reference.txt | 2 +- src/data/pack.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/type/pack_item_reference.txt b/doc/type/pack_item_reference.txt index 8164917e..95ea4acf 100644 --- a/doc/type/pack_item_reference.txt +++ b/doc/type/pack_item_reference.txt @@ -12,7 +12,7 @@ A reference to a [[type:pack item]]. ! Property Type Default Description | @name@ Name of a [[type:pack item]] ''required'' Name of the pack item to include in this pack. | @amount@ [[type:scriptable]] [[type:double]] 1 How many of those cards are in the pack? -| @type@ @"replace"@, @"no replace"@ or @"cyclic"@ @"replace"@ How should the cards be selected? The options are: +| @type@ @"replace"@, @"no replace"@ or @"cyclic"@ @"no replace"@ How should the cards be selected? The options are: --Example-- >item: diff --git a/src/data/pack.cpp b/src/data/pack.cpp index 2fe0f8e1..7e8925c5 100644 --- a/src/data/pack.cpp +++ b/src/data/pack.cpp @@ -54,7 +54,7 @@ IMPLEMENT_REFLECTION_ENUM(PackRefType) { PackItemRef::PackItemRef() : amount(1) - , type(PACK_REF_REPLACE) + , type(PACK_REF_NO_REPLACE) {} IMPLEMENT_REFLECTION(PackItemRef) {