Commit 6b58d17b authored by twanvl's avatar twanvl

added assertion

parent 5d40966f
......@@ -384,6 +384,7 @@ void PackGenerator::reset(int seed) {
}
PackInstance& PackGenerator::get(const String& name) {
assert(set);
PackInstanceP& instance = instances[name];
if (instance) {
return *instance;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment