mirror of
https://github.com/amyinspace/MagicSetEditor2.git
synced 2026-06-11 21:27:01 -04:00
added assertion
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1548 0fc631ac-6414-0410-93d0-97cfa31319b6
This commit is contained in:
@@ -384,6 +384,7 @@ void PackGenerator::reset(int seed) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
PackInstance& PackGenerator::get(const String& name) {
|
PackInstance& PackGenerator::get(const String& name) {
|
||||||
|
assert(set);
|
||||||
PackInstanceP& instance = instances[name];
|
PackInstanceP& instance = instances[name];
|
||||||
if (instance) {
|
if (instance) {
|
||||||
return *instance;
|
return *instance;
|
||||||
|
|||||||
Reference in New Issue
Block a user